0

Can we changed the Java main method during program execution ?

5th Mar 2020, 6:26 PM
Kabir
Kabir - avatar
2 odpowiedzi
0
I'm not sure if that can be done but you can always overload the main method but you cannot override it.
5th Mar 2020, 6:42 PM
Avinesh
Avinesh - avatar
0
I doubt how can any method can be changed during execution..? We write methods to manipulate on data, not on methods...!? So execution happens depending on methods... Edit: Am I missing anything about question?.. Am not able to understand the question fully.. Are you taking about overriding?
5th Mar 2020, 6:55 PM
Jayakrishna 🇮🇳