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. |
awt.Dimension’ package$ |
| A. | Program prints all the possible constructors of class ‘Class’ |
| B. | Program prints “Exception” |
| C. | Runtime Error |
| Answer» D. | |
| 2. |
Which of this package is used for invoking a method remotely? |
| A. | java.rmi |
| B. | java.awt |
| C. | java.util |
| D. | java.applet |
| Answer» B. java.awt | |
| 3. |
Which of this package is used for handling security related issues in a program? |
| A. | java.security |
| B. | java.lang.security |
| C. | java.awt.image |
| D. | java.io.security |
| Answer» B. java.lang.security | |
| 4. |
Which of this package is used for analyzing code during run-time? |
| A. | java.applet |
| B. | java.awt |
| C. | java.io |
| D. | java.lang.reflect |
| Answer» E. | |