MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Object Oriented System Design knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚Àւ§WHITESPACE‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚ÀÖ¬•_IN_JAVA_LANGUAGE_MAY_BE??$# |
| A. | A space |
| B. | A new line |
| C. | A tab |
| D. | All of the mentioned |
| Answer» E. | |
| 2. |
Which of the following is used to name class, method and variables? |
| A. | Identifiers |
| B. | Keywords |
| C. | Both |
| D. | None of the mentioned |
| Answer» B. Keywords | |
| 3. |
Which of the following ‘Seperator’ is most commonly used in Java program?$ |
| A. | Parenthesis |
| B. | Braces |
| C. | Comma |
| D. | Semicolon |
| Answer» E. | |
| 4. |
Which of the following is readable by both Computer and Human? |
| A. | Single-line comment |
| B. | Multi-line comment |
| C. | Documentation comment |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 5. |
What are the types of comments defined by Java? |
| A. | Single-line comment |
| B. | Multi-line comment |
| C. | Documentation comment |
| D. | All of the mentioned |
| Answer» E. | |
| 6. |
Which of the following is a Literal Representation? |
| A. | 100 |
| B. | ‘100’ |
| C. | Sample |
| D. | None of the mentioned |
| Answer» B. ‚Äö√Ñ√∂‚àö√ë‚àö‚â§100‚Äö√Ñ√∂‚àö√ë‚àö¬• | |
| 7. |
How many reserved keywords are there in Java language? |
| A. | 50 |
| B. | 52 |
| C. | 49 |
| D. | 45 |
| Answer» B. 52 | |
| 8. |
Which of these is a reserved word in Java Programming Language? |
| A. | method |
| B. | native |
| C. | subclasses |
| D. | reference |
| Answer» C. subclasses | |
| 9. |
Which of these is a valid keyword in Java? |
| A. | interface |
| B. | string |
| C. | float |
| D. | unsigned |
| Answer» B. string | |