Skip to content

Commit 03056dd

Browse files
[auto] regenerate table of contents
1 parent d3b9016 commit 03056dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Frequently asked Java Interview questions
201201

202202
**[⬆ Back to Top](#table-of-contents)**
203203

204-
5. ### What is string constant pool
204+
6. ### What is string constant pool
205205

206206
String constant pool is a storage space inside the heap memory area where string literals are stored. It is also known as String pool or String Intern Pool. This is privately maintained by String class and it is empty by default. Whenever you create a new string object, JVM checks for presence of string object in the string pool. If the string value is already present, the same object reference is shared with the variable, else a new string is created in the pool with the variable reference stored in stack area.
207207

0 commit comments

Comments
 (0)