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
  • 877
  • 1
  • 14
  • 27

0 Answers0