Question: 1 5 The 'main' method is declared 'static', so that a . The method needs to be associated with every object of the driver class

15 The 'main' method is declared 'static', so that
a. The method needs to be associated with every object of the driver class
b. There is a single exitance of this method even if multiple objects created of the driver class
c. Java(JVM) can create an object of driver class and use the main method using that reference
d. So that it can only be accessed from inside the driver class only
16 What would be the output of the following code:
a.120
b.0
c.100
d.20
 15 The 'main' method is declared 'static', so that a. The

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!