Question: Question 1 (1 point) A(n) enables a program to read data from the user. A) printf. . B) import declaration. C) main. D) Scanner. Question

Question 1 (1 point) A(n) enables a program to read data from the user. A) printf. . B) import declaration. C) main. D) Scanner. Question 2 (1 point) Which of the following does not contain a syntax error? A) System.out.println(Hello world!); B) System.out.println("Hello world!"); C) System.out.println('Hello world!'): D) System.out.println("Hello world!")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
