Solved

Which of the Following Statements Will Print a Single Line

Question 9

Multiple Choice

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") ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions