1.

What is the range of byte data type in Java?(a) -128 to 127(b) -32768 to 32767(c) -2147483648 to 2147483647(d) None of the mentioned

Answer» Right choice is (a) -128 to 127

The best I can explain: Byte occupies 8 bits in memory. Its range is from -128 to 127.


Discussion

No Comment Found

Related InterviewSolutions