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 default locale java?
Can we declare a class as static?
What is a java applet? What is an interface?
What are loops in java? What are three types of loops?
Can a static method be final?
What is the disadvantage of java?
What are loops in java?
How we can declare a static variable?
What is the difference between access specifiers and access modifiers in java?
Explain about collection interface in java?
Does apple use java?
What is array in java?
Define canvas?
Explain how can you debug the Java code?
What is identifier with example?