

MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
1. |
Default value of variable having boolean data type is ___________. |
A. | TRUE |
B. | FALSE |
C. | null |
D. | garbage |
E. | |
Answer» C. null | |
2. |
Short data type has a minimum value of _____________. |
A. | -32768 |
B. | -32767 |
C. | 32768 |
D. | 32767 |
Answer» B. -32767 | |
3. |
Which of the following data type(s) can store 64 bit Value. |
A. | boolean |
B. | int |
C. | float |
D. | long |
Answer» E. | |
4. |
What is size of integer in Java Programming. |
A. | 1 Bytes |
B. | 2 Bytes |
C. | 4 Bytes |
D. | 8 Bytes |
Answer» D. 8 Bytes | |
5. |
Range of Byte Data Type is ____________. |
A. | -128 to 128 |
B. | -127 to 127 |
C. | -127 to 128 |
D. | -128 to 127 |
Answer» E. | |
6. |
Character data type cannot store following value. |
A. | Digit |
B. | Letter |
C. | Special Character |
D. | String |
Answer» E. | |
7. |
Which of the following data types comes under floating data types ? |
A. | int |
B. | double |
C. | long |
D. | byte |
Answer» C. long | |
8. |
Integer Data type does not include following primitive data type ____________. |
A. | long |
B. | byte |
C. | short |
D. | double |
Answer» E. | |
9. |
Which of the following is not a primitive data type ? |
A. | byte |
B. | enum |
C. | short |
D. | int |
Answer» C. short | |
10. |
Which of the following is smallest integer data type ? |
A. | int |
B. | byte |
C. | short |
D. | long |
Answer» C. short | |