Question
What is the output of this program?class mainclass {public static void main(String args[]) {char a = 'A';a++;System.out.print((int)a);} }
Answer: Option A
Was this answer helpful ?
ASCII value of 'A' is 65, on using ++ operator character value increments by one.
Was this answer helpful ?
Submit Solution