0

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?

anathema
  • 947
  • 2
  • 15
  • 27

0 Answers0