Java MCQ - English
What 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 class is a library of functions to perform arithmetic operations of BigInteger and BigDecimal?
2) What is the range of byte data type in Java?
3) Which of the following are legal lines of Java code?
4) What is the output of this program? class mainclass {
public static void main(String args[])
{
char a = 'A';
a++;
System.out.print((int)a);
}
}
5) Which of the following is not provided by BigDecimal?