Solved

Which of the Following Statement Displays Hello World

Question 15

Multiple Choice

Which of the following statement displays Hello World?


A) System.out.printf("%2s", "Hello " "World") ;
B) System.out.printf("%s %s", "Hello", "World") ;
C) System.out.printf("%s%s", "Hello, World") ;
D) System.out.printf("s% s%", "Hello", "World") ;

Correct Answer:

verifed

Verified

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

Related Questions