Can we have public static void main(int[] args)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can we have public static void main(int[] args)?

27th Aug 2016, 7:01 PM
Kaustubh
Kaustubh - avatar
2 Answers
+ 1
The only arguments passed in Main are of type String, I guess on the early years of java when used to call main from command line this was enough!
27th Aug 2016, 9:37 PM
George Tzirtzilakis
George Tzirtzilakis - avatar
0
Never
27th Aug 2016, 7:14 PM
Agha Asad Khan
Agha Asad Khan - avatar