Java MCQ - English
What is the numerical range of a char data type in Java?
Home | Discussion ForumWhat is the numerical range of a char data type in Java?
Answer : D
View More Related Question
1) What is the output of this program? class booloperators {
public static void main(String args[])
{
boolean var1 = true;
boolean var2 = false;
System.out.println((var2 & var2));
}
}
2) What is the numerical range of a char data type in Java?
3) What is the output of this program? class mainclass {
public static void main(String args[])
{
char a = 'A';
a++;
System.out.print((int)a);
}
}
4) Which of the below data type doesn’t support overloaded methods for +,-,* and /?
5) Which of the following are legal lines of Java code?