Image Image Image Image Image Image Image Image Image Image

Mudassir Shahzad | October 24, 2018

Scroll to top

Top

JVM

Why main method is static in Java

June 21, 2013 |

This is one of the basic question asked in interviews or in gatherings of professionals.

So here we go,

Main method is static in java because

 

This is just a convention. In fact, even the name main(), and the arguments passed in are purely convention. Read More

Object moved

Object moved to here.