string is immutable? right every one knows that, my
question is it advantage or disadvantage making string
immutable?
Answer Posted / vinod kumar
It is an advantage
performance: knowing that a string is immutable makes it
easy to lay it out at construction time — fixed and
unchanging storage requirements
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
How a variable is stored in memory?
What are the two types of java?
explain multi-threading in java?
what are the disadvantages of indexes in oracle?
Can a main method be declared final?
What does %d do in java?
What is the symbol for space?
What is the difference between import java.util.date and java .util?
Can a static method be final?
What is the range of the short type?
Can a final variable be manipulated in java?
What is file in java?
What are the important features of Java 10 release?
Which arithmetic operations can result in the throwing of an arithmeticexception?
what is use of functional interface in java 8?