Why main method is static in java [duplicate]
问题 This question already has answers here : Why is the Java main method static? (37 answers) Closed 2 years ago . I have heard some people saying " if main is not static then JVM could create an object of class containing main and call that main through object. But the problem is how JVM knows which constructor to call in case of overloaded constructors or even if there is only one paramaterized constructor, then what to pass." Is that the correct reason? Because how can object of class be