![java - String s = new String("xyz"). How many objects has been made after this line of code execute? - Stack Overflow java - String s = new String("xyz"). How many objects has been made after this line of code execute? - Stack Overflow](https://i.stack.imgur.com/dxEOG.png)
java - String s = new String("xyz"). How many objects has been made after this line of code execute? - Stack Overflow
![java - String s = new String("xyz"). How many objects has been made after this line of code execute? - Stack Overflow java - String s = new String("xyz"). How many objects has been made after this line of code execute? - Stack Overflow](https://i.stack.imgur.com/7t0GY.png)
java - String s = new String("xyz"). How many objects has been made after this line of code execute? - Stack Overflow
JavaXp.com | Java Experts Blog | Java Examples | API | Errors | Exceptions: Java : Strings Are Immutable Objects
![java - String s = new String("xyz"). How many objects has been made after this line of code execute? - Stack Overflow java - String s = new String("xyz"). How many objects has been made after this line of code execute? - Stack Overflow](https://i.stack.imgur.com/SborS.png)