+ 1
Can we overload the main function?
5 Respuestas
0
no.
0
sorry sir we can overload the main function in java
by changing the argument datatype
0
Sorry Ankit pratap Singh this is not possible but if you can then just share the same
0
mr akash we can overload the main function try kar
by changing the parameters
0
That doesnt work man, not with a main. The original main will always run at startup even if you cange parameter tipes. Go ahead and test it in practice, dont just talk theory