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
What are inner classes or non static nested classes in java?
Can you extend main method in java?
What is static block?
How to run a JAR file through command prompt?
How does system arraycopy work in java?
What is a modifier?
What are the java ide's? Explain
What is compiler and what its output.
How do weakhashmap works?
Explain a situation where finally block will not be executed?
How do you sort in ascending order in java?
What is difference between arraylist and list in java?
What is the purpose of void class?
How to sort an array from smallest to largest java?
What is this keyword used for?