InterviewSolution
Saved Bookmarks
| 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 mentionedI had been asked this question in quiz.Asked question is from Integer and Floating Data Types in portion Data Types, Variables and Arrays of Java |
|
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. |
|