having this code block:
String x = new String("xyz");
String y = "abc";
x = x + y;
how many string objects are being created on the JVM?
having this code block:
String x = new String("xyz");
String y = "abc";
x = x + y;
how many string objects are being created on the JVM?