MCQOPTIONS
Saved Bookmarks
| 1. |
The static keyword word is used in public static void main() declaration in Java: |
| A. | To enable the JVM to make call to the main(), as class has not been instantiated. |
| B. | To enable the JVM to make call to the main(), as class has not been inherited. |
| C. | To enable the JVM to make call to the main(), as class has not been loaded. |
| D. | To enable the JVM to make call to the main(), as class has not been finalized. |
| Answer» B. To enable the JVM to make call to the main(), as class has not been inherited. | |