Answer Posted / sumitpalsingh
String class is immutable .In String class we can not change or modify object value. To make an object value modifiable. we can use StringBuffer and StringBuilder classes.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is a byte string?
Can substring create new object?
Can we call thread start () twice?
What are the two basic ways in which classes that can be run as threads may be defined?
Can we rethrow the same exception from catch handler?
What is final, finally, finalize?
Can we convert stringbuilder to string in java?
What are peerless components?
do I need to use synchronized on setvalue(int)? : Java thread
What is merge sort in java?
What are the ways to instantiate the class class?
What is java and their uses?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
Why java is said to be pass-by-value ?
what is difference betweem home interface and remote interface?