+ 1

Public static void

What does the command "public static void[]" mean? and what does that do ?

28th Dec 2016, 10:21 PM
Lior Werner
Lior Werner - avatar
2 Respuestas
+ 7
Public -> accessible from everywhere. Static -> a modificator, It's mean that you can access it without making a new instance of the class, just calling it. (like Math library): void -> doesn't have a return value.
28th Dec 2016, 10:52 PM
Nahuel
Nahuel - avatar
0
thank you very much :)
28th Dec 2016, 10:53 PM
Lior Werner
Lior Werner - avatar