[solved] – Question 82722
what would be the following output from this code and why?
String str = “My first java program”;
String reslt= str.substring(2,12);
system.out.println(str);
Expert Answer
OR
what would be the following output from this code and why?
String str = “My first java program”;
String reslt= str.substring(2,12);
system.out.println(str);
OR