1.

What is the output of this program?public class stringClass_Example { public static void main(String args[]) { String str = "Interview"; String str1 = "Mania"; String str2 = str; str2 = " Mania"; System.out.println(str + " " + str2); } }

A. Mania
B. Interview
C. Mania Interview
D. Interview Mania
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs