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 is data structure in java?
Explain about the performance aspects of core java?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What is the difference between a method and a procedure?
How do you initialize an arraylist in java?
Why set do not allow duplicates in java?
Do loops java?
Can a main method be overloaded?
What does int argc char * argv [] mean?
What is the benefit of inner classes in java?
Does java set allow duplicates?
Explain an algorithm to find depth of a binary tree.
What is byte code and why is it important to java’s use for internet programming?
What do bitwise operators do?