+ 1

What is "public static void "mean and use for?

25th Jul 2016, 6:24 PM
Emad Taheri
Emad Taheri - avatar
2 Answers
+ 1
I think you are referring to the public static void main. Thus is the method where your java program starts when you run it. From there you start everything elss
25th Jul 2016, 9:57 PM
ein siedler
ein siedler - avatar
relating with "public static void main" since main method is called by jvm. so public denotes that it can be access from outside. statics denotes that we don't need to create an object. it can be called by classname. by means the method returns with no value.
25th Jul 2016, 6:32 PM
Dhiman Das
Dhiman Das - avatar