string is immutable? right every one knows that, my
question is it advantage or disadvantage making string
immutable?
Answer Posted / prashant renge
It is advantage,
because String is standard class,if it is muttable
behaviour is inconsistant.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is an object's lock and which object's have locks in java programming?
Does java isempty check for null?
What isan abstract class and when do you use it?
What is locale?
Can we access instance variables within static methods ?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What are voids?
What is factor r?
Explain java coding standards for interfaces?
Explain the difference between transient and volatile in java?
What is a java developer salary?
How does varargs work in java?
Outline the major features of java.
Which sorting is best in java?
Difference between static binding and dynamic binding?