Question: Given that ( Strings = my lab java course) the statement :System.out.println(s.indexOf(lab)) displays: 03 4 Given the below code, choose the right answer in the

Given that ( Strings = "my lab java course") the statement :System.out.println(s.indexOf("lab")) displays: 03 4 Given the below code, choose the right answer in the line 12, to let the user enter the level and the department inputs. 7 8 9 10 11 12 13 14 15 16 String dep: int level; Scanner kbm new Scanner (System.in); System.out.print("please enter your level"); level kb.nextInt(); ... System.out.print("please enter your departement :"); depakb.nextLine(): System.out.print("your departement 19"+dep); System.out.println(" your level 1. "+level); O A dep=kb.nextLine(); . dep-kb.nextInt(): OC dep=kb.next(); Dno statement is missing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
