
What is the output of the following code? public class Main public static void main(String args[l) String myStr-new String(“Cheggers2019”); System. out.print (myStr.substring(2, myStr.substring (0,2).size())); a. Error c. No output d. eg Show transcribed image text
Expert Answer
An answer will be send to you shortly. . . . .