

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program?
public class Result { public static void main(String args[]) { String str1 = "Interview"; String str2 = str1 + " Mania"; System.out.println(str2); } } |
A. | Interview Mania |
B. | Interview |
C. | Mania |
D. | Mania Interview |
E. | InterviewMania |
Answer» B. Interview | |