Question PRG-JAVA-0041
EasyWhat is the output of this program?
public class Main {
public static void main(String[] args) {
String s = "abc";
System.out.println(s.toUpperCase() + s);
}
}
- A.
ABC
- B.
Compilation error
- C.
Sign up free to see the answer and a step-by-step explanation.