Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Where is String Pool stored?

a) Java Stack
b) Java Heap
c) Permanent Generation
d) Metaspace

Answer: b
Explanation: When a string is created; if the string already exists in the pool, the reference of the existing string will be returned, else a new object is created and its reference is returned.

Join The Discussion