+ 1
In java, Can a main() method be Overloaded? Or not? If Yes is your answer please explain me with an simple example.
regarding overloading of main() method
4 Réponses
+ 14
Yes, it can be. Have a look at these examples:
https://code.sololearn.com/cQf2q6uFIbSt/?ref=app
https://code.sololearn.com/cjaInE3bgRqx/?ref=app
+ 7
It can but it can't be overriden.
https://code.sololearn.com/cgTj1UwZ4Gpg/?ref=app
+ 1
ty bro@Dev
+ 1
ty@110000