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
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 JavaJVM 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
What would be the output of the following code:
a
b
c
d
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
