Respuesta :
In the first one,statement 1 and 2 have errors in them.
I. Scanner in = new Scanner(System.in.print);
II. System.out.print("Please enter your name (first last): ");
In the second one, statement 2 has an error.
II. String lastName = in.nextline();
I. Scanner in = new Scanner(System.in.print);
II. System.out.print("Please enter your name (first last): ");
In the second one, statement 2 has an error.
II. String lastName = in.nextline();
Answer:
Your answer is I. Scanner in = new Scanner(System.in.print);
II. System.out.print("Please enter your name (first last): ");
Explanation: