1.

What will be the output of the program?

String s = "ABC"; s.toLowerCase(); s += "def"; System.out.println(s);

A. ABC
B. abc
C. ABCdef
D. Compile Error
Answer» D. Compile Error


Discussion

No Comment Found

Related MCQs