Question
a.
-128 to 127
b.
0 to 256
c.
0 to 32767
d.
0 to 65535
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the numerical range of a char data type in Java?
Similar Questions
Discover Related MCQs
Q. Which of these values can a boolean variable contain?
View solution
Q. Which of these occupy first 0 to 127 in Unicode character set used for characters in Java?
View solution
Q. Which one is a valid declaration of a boolean?
View solution
Q. What is the order of variables in Enum?
View solution
Q. Can we create an instance of Enum outside of Enum itself?
View solution
Q. If we try to add Enum constants to a TreeSet, what sorting order will it use?
View solution
Q. Which method returns the elements of Enum class?
View solution
Q. Which class does all the Enums extend?
View solution
Q. Are enums are type-safe?
View solution
Q. Which of the following is the advantage of BigDecimal over double?
View solution
Q. Which of the below data type doesn’t support overloaded methods for +,-,* and /?
View solution
Q. What is the base of BigDecimal data type?
View solution
Q. What is the limitation of toString() method of BigDecimal?
View solution
Q. Which of the following is not provided by BigDecimal?
View solution
Q. BigDecimal is a part of which package?
View solution
Q. What is BigDecimal.ONE?
View solution
Q. Which class is a library of functions to perform arithmetic operations of BigInteger and BigDecimal?
View solution
Q. Which of these is long data type literal?
View solution
Q. Which of these can be returned by the operator &?
View solution
Q. Literals in java must be appended by which of these?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!