Menu

[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


Leave a Reply

Your email address will not be published. Required fields are marked *