Possible Duplicate:
String's Maximum length in Java - calling length() method
I have a string defined as
String xx
Is there any limit for the number of characters that I can assign?
2) I am assigning the user input to this string xx. 70% of the times people give only one word. some times they give a big sentence so want to know is that ok? or is there any better java practices?