what is meant by string pooling?

Answer Posted / gaurav agrawal

dont misguide please, all the string objects created
without new operator are stored in pool which is a space in
memory, if any other object has the same content then a new
object will not be created.

Is This Answer Correct ?    35 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can this keyword be used to refer static members?

540


What is wrapper class html?

524


How do you define a variable?

529


Is it possible to override private or static method in java?

539


What is constructor and virtual function? Can we call a virtual function in a constructor?

674






Why is singleton instance static?

503


What types of index data structures can you have in java?

608


Is java free for businesses?

579


What is variable explain?

524


What is meant by binding in rmi?

541


What is function and its uses?

558


What is parsing in java?

527


What are scalar data types?

520


What is the constructor?

572


What are "methods" and "fields"?

567