Where to use public static void main | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where to use public static void main

9th Nov 2016, 4:05 PM
Kshitij Kumar
Kshitij Kumar - avatar
2 Answers
+ 1
In any Java file where you want the program starts.
9th Nov 2016, 5:01 PM
Narciso Nuñez Arias
Narciso Nuñez Arias - avatar
0
in the main method of ur programme.
15th Nov 2016, 5:48 AM
Nish
Nish - avatar