

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program? class output { public static void main(String args[]) { String c = " Hello World "; String s = c.trim(); System.out.println("\""+s+"\""); } } |
A. | “”Hello World”” |
B. | “”Hello World” |
C. | “Hello World” |
D. | Hello world |
Answer» D. Hello world | |