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 the size of string?
What is the epoch date?
What is the covariant return type?
What is purpose of find feature?
What is function and its uses?
What is a nullable field?
What is OOP Language?
what do you mean by classloader in java?
Does chrome use java?
When throw keyword is used?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What is the properties class?
Can we override singleton class?
Can we have two main methods in a java class?
How do you define a singleton class?