Q. What will be the output of the following Java program?
class Output
{
public static void main(String args[])
{
char a = (char) 98;
a = Character.toUpperCase(a);
System.out.print(a);
}
}
class Output
{
public static void main(String args[])
{
char a = (char) 98;
a = Character.toUpperCase(a);
System.out.print(a);
}
}
β
Correct Answer: (C)
B