hi to all. well can you please tell me that why String class
is immutable?
Thanks in advance.
Answer Posted / syed
Since, return type of the string class cannot be altered
with substrings or any ammendments to it .
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What happens if I remove static from main method?
Explain yield() method in thread class ?
What is a control variable example?
What is the symbol for average?
What are the features of java?
How do I print a “?
What is class level lock ?
Can we pass a primitive type by reference in java? How
What is the difference between Array and Hash Table?
Is sizeof a keyword in java programming?
What is a default method?
Why java applets are more useful for intranets as compared to internet?
What is an object class?
What is the dot operator?
Can we use both this () and super () in a constructor?