Question: Question 1 1 points Save Answer Question 4 Given that (String s=my lab java course) the statement System.out.printin (s.indexOf(lab) displays: What is the output of
Question 1 1 points Save Answer Question 4 Given that (String s="my lab java course") the statement System.out.printin (s.indexOf("lab") displays: What is the output of the following code? public class LabE { 2 3 public static void main(String[] args) Question 2 { Choose the incorrect statement among the next: int x = 3; public static void main(String[] args) O AE int X = x*3/2; > B. public static void Main(String[] args)) public class NewClass { System.out.println(x); } D. public class Ex{} } Question 3 Choose the correct statement among the next: 043 A. B. System.out.println("Hello") System.out. Printin("How are you"?); System.out.println("Thank you"); D. System.out.println(); OC2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
