Jou die aller plus question 1 out of 12 What is the output of the following code?public

Jou die aller plus question 1 out of 12

What is the output of the following code?
public class Main
{
public static void main(String args[])
{
String myStr = new String(“Cheggers 2019”);
System.out.print(myStr.substring(2, myStr.substring(0,2).size()));
}
}
a. Error
be
c. No output
d. eg
Activate Win
Go to PC settings
A
Answer​

Related Posts

Leave a Reply

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