0
What is that static and void required for ..can't we run with simple static or with void?
1 ответ
0
Static means that the method (or vatible or inner class) has nothing to do with an instance,so its not object related.
void means that theres no return type
so the
public static void main (...
is independet has no return type and you don't have to create an object to use it.
and of course its the method to start every java programme