Which of the following statements will print a single line containing "hello there"?

a. System.out.println("hello");
System.out.println(" there");
b. System.out.println("hello" , " there");
c. System.out.println("hello");
System.out.print(" there");
d. System.out.print("hello");
System.out.println(" there");

d. System.out.print("hello");
System.out.println(" there");

Computer Science & Information Technology

You might also like to view...

Windows 7 ships with a fully functioning firewall

Indicate whether the statement is true or false.

Computer Science & Information Technology

Project 2010 allows actual entries to override logic and then retains this information and tracks the logic errors.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology