Java MCQ - English
What is the range of short data type in Java?
Home | Discussion ForumWhat is the range of short data type in Java?
-128 to 127
-32768 to 32767
-2147483648 to 2147483647
None of the mentioned
Answer : B
View More Related Question
1) Which of the following is not provided by BigDecimal?
2) In Java byte, short, int and long all of these are
3) Which of the following are legal lines of Java code?
4) 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));
}
}
5) Which data type value is returned by all transcendental math functions?