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 can we make a class virtual?
Why doesn't the java library use a randomized version of quicksort?
Objects or references which of them gets garbage collected?
What do you mean by platform independence?
Can constructor be protected in java?
Explain about the interpreter in java?
What are loops in java?
Is heap stored in ram?
Which class is the superclass for all the classes?
What is "this" keyword in java? Explain
Why stringbuilder is not thread safe in java?
What is the purpose of garbage collection in java?
How can we avoid including a header more than once?
Can final class have constructor?
What is the purpose of the system class in java programming?