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 does a void function return?
Can you pass by reference in java?
Describe string intern() methodology
Can we able to pass objects as an arguments in java?
How to make a non daemon thread as daemon?
Which is bigger float or double?
What are the advantages of functions?
What is the Difference between Final Class && Abstract Class?
What is the benefit of using enum to declare a constant?
What is the difference between an array and an array list?
Is a boolean 1 bit?
What is a vector in java?
What is the console in java?
Difference between string, stringbuffer and stringbuilder?
What is the difference between throw and throws in java?