+ 1
why main method should always be static??
5 Respostas
+ 3
When the JVM makes are call to the main method there is not object existing for the class being called therefore it has to have static method to allow invocation from class.
0
please give me more explanation...
0
static can be run without any instance of a class.
0
If you not define it as static, then u have to create an object for it, even without defining it as static you can do it, but should create an object for it.....
0
give me specification with example