What is string pool?
Answer / Ashok Chandra
String pool (or String literal pool) in Java is a region of memory used to store strings that have been declared as final and are not modified.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why webdriver is an interface?
What about main thread in java?
when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.
What are the different access modifiers available in java?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
Explain about main thread in java?
Is java based on c?
What is ternary operator?
What is the exact difference in between Unicast and Multicast object ?
How does a cookie work in Servlets?
why java is not supporting multiple inheritence?
why would you use a synchronized block vs. Synchronized method? : Java thread