What is the output of this program?
class char_increment {
public static void main (String args[ ])
{
char c1 = 'D';
char c2 = 84;
c2++;
c1++;
System.out.println(c1 + " " + c2);
}
}
1
E U
2
U E
3
V E
4
U F
5
Question Not Attempted
What is the output of this program?
class char_increment {
public static void main (String args[ ])
{
char c1 = 'D';
char c2 = 84;
c2++;
c1++;
System.out.println(c1 + " " + c2);
}
}