Live quiz

java - Part 5

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following Java program? class mainclass { public static void main(String args[]) { char a = 'A'; a++; System.out.print((int)a); } }

  • A
  • B
  • C
  • D