0
Why we use static key word in. Main method?
public static void main String(arg[ ])
5 odpowiedzi
+ 2
Static means that the Function is a function that can be accessed from outside the class without setting it as an instance.
The JVM should be able to access the main method from outside the program to make it work.
https://code.sololearn.com/cYIUAWE6PLRE/?ref=app
+ 1
thank you now i am cleared
+ 1
Yes it should be strictly Static
0
is main method has strictly use static ?
0
ok thak you