Answer Posted / tanveer
String class is immutable .To make the String immutable use String Buffer or String Builder classes which are mutable
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What is the basic concepts of OOPS?
What is return keyword in java?
What are the important features of Java 10 release?
How can I right-justify a string?
How do you define a variable?
What is object in java?
How can an object be unreferenced?
Why we override equals() method?
how does the run() method in runnable work? : Java thread
Is assembly language a low level language?
What is a flag variable?
What is the role of garbage collector in java?
Is singleton thread safe in java?
What are class members by default?
What is a final class ?