Answer Posted / nashiinformaticssolutions
A collection of strings in Java's Heap memory is referred to as Java String Pool. In case you try to create a new string object, JVM first checks for the presence of the object in the pool. If available, the same object reference is shared with the variable, else a new object is created.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is your platform?s default character encoding and how to know this?
Can we cast any other type to boolean type with type casting?
Why declare Main() method as a static in java ?
What is application tier?
what is the difference between Object Based Language and Object Oriented Language?
What is private public protected in java?
Can we override protected method in java?
What happens if an exception is not handled in a program?
Can we make the abstract methods static in java?
What is bool mean?
What is square root in java?
What's the base class of all exception classes?
What do you mean by JVM?
Which is bigger float or double?
How to split a string in java?