MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Java knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
7 ? |
| A. | 7 7 |
| B. | 7 5 |
| C. | 5 2 |
| Answer» C. 5 2 | |
| 2. |
42 42 |
| A. | 43 43 |
| B. | 42 -43 |
| C. | 42 43 |
| Answer» B. 42 -43 | |
| 3. |
On applying Left shift operator, |
| A. | 1 |
| B. | 32 |
| C. | 33 |
| D. | 31 |
| Answer» E. | |
| 4. |
Which operator is used to invert all the digits in a binary representation of a number? |
| A. | ~ |
| B. | <<< |
| C. | >>> |
| D. | ^ |
| Answer» B. <<< | |