adplus-dvertising
frame-decoration

Question

What is the need to mention "static" before main method?

a.

To call main method without creating an object of class

b.

To make main method as class method common to all instances

c.

both both a and b

d.

None of the above

Posted under Java Programming

Answer: (c).both both a and b

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the need to mention "static" before main method?