+ 1

Can main() be overloaded in Java?

2nd Sep 2018, 1:07 PM
saurabh sable
saurabh sable - avatar
4 Answers
+ 3
Yes but it will not be the real main(program start point) https://code.sololearn.com/cFnUjZvO3ndj/?ref=app
2nd Sep 2018, 1:16 PM
Potato Squad
Potato Squad - avatar
+ 2
np :^)
2nd Sep 2018, 1:34 PM
Potato Squad
Potato Squad - avatar
+ 1
thank you Potato Squad
2nd Sep 2018, 1:32 PM
saurabh sable
saurabh sable - avatar
+ 1
yeah you can bt u have to call it explicitly
3rd Sep 2018, 7:18 PM
Aarav Raj
Aarav Raj - avatar