what is meant by string pooling?

Answer Posted / ravikiran(aptech r&d)

so when we use a new operator an object will be created
right and every object will be save on garbage collectible heap.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

516


What 4 doubled?

540


Are arrays static in java?

578


How to retrieve data from database in java using arraylist?

522


What is a lightweight component?

588






What is += mean in java?

536


Why do we declare a class static?

537


What are synchronized methods ?

611


Wha is the output from system.out.println(“hello”+null); ?

684


Difference between ‘is-a’ and ‘has-a’ relationship in java?

533


What are the super most classes for all the streams?

1168


What's the base class of all exception classes?

561


What is default constructors?

535


What is the difference between exception and error in java?

486


What is the purpose of return statement?

622