Answer Posted / kirthika
everytime a string object is created, it enters into the string pool and thereby this concept was mainly to enhance the response time if the same string is used elsewher..
therefore string class is immutable..
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
How do you declare an empty string?
What is method in research paper?
What does nextint () do in java?
State the merge-sort principle and its time complexity.
What is a ?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
How do you generate random numbers in java?
What is a databasemetadata?
Why does abstract class have constructor?
Is java se free?
How will you get the platform dependent values like line separator, path separator, etc., ?
What does exp mean in math?
What is the use of java?
Why we used break and continue statement in java?
How does map works in java?