0

Can the main() method be overloaded? or overrided? and what happens when we do so?

java

12th Dec 2016, 6:24 PM
Rishabh
Rishabh - avatar
2 Réponses
+ 1
No, there is only one main method in a program
12th Dec 2016, 7:54 PM
Dago VF
Dago VF - avatar
+ 1
Since any program just have one main function, it can't have several parameters or change the ones that has(implying). You cant
12th Dec 2016, 8:45 PM
Aldo Alexandro Vargas Meza
Aldo Alexandro Vargas Meza - avatar