0
Can we overload the main() method in java ?
If possible , explain how it is possible with a simple code and also explain the mechanism of the code.
5 odpowiedzi
+ 7
Yes you can. But you'll need to call the overloaded main method from the actual main method.
https://stackoverflow.com/questions/3759315/can-we-overload-the-main-method-in-java
0
https://code.sololearn.com/c5k502J25l3p/?ref=app
0
Is this main method overloading ?
But output is showing many errors
0
please reply anyone
0
No main method is not overload