Posted by: KaLaNkIsThAn September 18, 2006
Login in to Rate this Post:
0
?
![](/wysiwyg/editor/images/smiley/msn/thumbs_up.gif)
![10 more flags than likes deactivates post.](/wysiwyg/editor/images/smiley/msn/thumbs_down.gif)
JavaBeans, I should ...
Took Java a long time ago and I don't quite remember using StringBuilder eh. Although I remember using it on C#. Hmmm ... I haven't updated myself, and freakin' time flies. I should practice Java one of these days...
Thanks Tho.
I thought it was better than what I had in my memory from programmin' days. :P
Something like, u ask the user to enter a string... like this
String name = new String();
char c;
blah("Enter your name: ");
c=(char)System.in.read();
while(c != '\n')
{concat. each character to string}
and print out the name..
LOL, how about that for a change. :D