MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Java knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of these class encapsulate the runtime state of an object or an interface? |
| A. | Class |
| B. | Object |
| C. | Runtime |
| D. | System |
| Answer» B. Object | |
| 2. |
What is the value of double consonant ‘E’ defined in Math class?$ |
| A. | approximately 3 |
| B. | approximately 3.14 |
| C. | approximately 2.72 |
| D. | approximately 0 |
| Answer» D. approximately 0 | |
| 3. |
Which of these class is a superclass of all other classes? |
| A. | Math |
| B. | Process |
| C. | System |
| D. | Object |
| Answer» E. | |