Change Photo
Marco Connelly

Answers by Marco Connelly

What will happen if I declare main in java non-static [duplicate]?

The compiler will treat as an instance method, i.e. you won't be able to execute it directly with java YourClass. But my question is w...