Which of the following statements is correct to display Welcome to Java on the console?

a. System.out.println('Welcome to Java');
b. System.out.println("Welcome to Java");
c. System.println('Welcome to Java');
d. System.out.println('Welcome to Java");
e. System.out.println("Welcome to Java');

b. System.out.println("Welcome to Java");

Computer Science & Information Technology

You might also like to view...

Software restriction policies include Disallowed, Basic User, and ____________________

a. Power User b. Unrestricted c. Administrator d. Everyone

Computer Science & Information Technology

Define the term protocol.

What will be an ideal response?

Computer Science & Information Technology