Java MCQ - English
What is the range of byte data type in Java?
Home | Discussion ForumWhat is the range of byte data type in Java?
-128 to 127
-32768 to 32767
-2147483648 to 2147483647
None of the mentioned
Answer : A
View More Related Question
1) In Java byte, short, int and long all of these are
2) Which class is a library of functions to perform arithmetic operations of BigInteger and BigDecimal?
3) What is the order of variables in Enum?
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) What is the limitation of toString() method of BigDecimal?
There is no limitation
toString returns null
toString returns the number in expanded form
toString uses scientific notation
View Answer