+ 3

Why are we using static keyowrd in public static void main ()??

13th Mar 2018, 12:25 PM
nithish kumar
nithish kumar - avatar
2 Réponses
+ 10
If we do not use the 'static' word, you have to create an instance of a class to start the program
13th Mar 2018, 2:07 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 3
Why wouldn't we? think about the use of the word static and what it does.
13th Mar 2018, 12:29 PM
J.G.
J.G. - avatar