|Feb13-06, 08:57 PM||#1|
I need java to read a string and count how many characters are in it. I know theres some class that can do this. What is it?
|Feb13-06, 09:01 PM||#2|
"Read a string?" From standard input?
String s = System.in.readLine();
int n = s.length();
|Similar Threads for: Java Question|
|JLabel java question.||Engineering, Comp Sci, & Technology Homework||1|
|a question about binary tree(java)||Programming & Comp Sci||2|
|question about this java program||Programming & Comp Sci||6|
|Java Question||Programming & Comp Sci||2|
|Java question||Programming & Comp Sci||5|