Answer Posted / venkatachalapathy
string is a immutable object i.e once the object is created
it cannot be modified. if we try to modify it creates
another new object
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Can long be null in java?
What is a text string?
what is daemon thread and which method is used to create the daemon thread? : Java thread
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What do you understand by weak reference?
What is Java Shutdown Hook?
What happens if an exception is throws from an object's constructor?
Can we serialize static variables in java?
Why main() method is public, static and void in java ?
Explain access specifiers?
what is a thread pool in java and why is it used?
What is difference in between java class and bean?
How static variable work in java?
What are the Static and Dynamic Variables? Differentiate them.
How many arguments can be passed to main ()?