. Explain Java String Pool.
Answer / 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 |
when to use ArrayList and when to use HashMap in webApplication.
What do you understand by abstract classes?
Is age discrete or continuous?
What is the use of an interface?
Can arraylist contain null values?
Which category the java thread do fall in?
How do you write a scanner class in java?
How can we create a object of a class without using new operator.
What two classes are used to read data only?
0 Answers TryTechnicals Pvt Ltd,
What is difference between public static and void?
What is runtime polymorphism or dynamic method dispatch?
Can we assign null to double in java?