Share

String is immutable in Java and stored in the String pool. Once it’s created, it stays in the pool until the garbage is collected, so even…

 

 String is immutable in Java and stored in the String pool. Once it’s created, it stays in the pool until the garbage is collected, so even…Continue reading on Medium » Read More Java on Medium 

#java

By