Java String 2/7 - String Class

preview_player
Показать описание
This is part 2 of 7 which covers basics of String in Java. It covers how to construct a string and immutable concept in String

Рекомендации по теме
Комментарии
Автор

1 quick question:

If I have created string without new keyword then it will store in “ string constant pool”
I’m right ?

If I have created string with using new keyword then it will store in “ heap” area
I’m right?

Little bit confusion on this pls let me know

vishnuswaroop