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);

}
}

1
66
2
67
3
65
4
64

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation