+ 1

What is static (static void main) ?

I don't understand what is static? explain me in your words not Google?.

25th Jul 2019, 9:14 AM
Ravi Bathani
Ravi Bathani - avatar
1 Réponse
+ 2
It means that you don't need to create an object of the class that the main method resides in to call the method and start your program.
25th Jul 2019, 10:10 AM
Sonic
Sonic - avatar