core java

Can we overload / over ride a main method?
[49 byte] By [Phani_M_Bhushana] at [2007-11-27 3:12:01]
# 1
You can overload the main method. Overriding requires inheritance relationship
AnanSmritia at 2007-7-12 8:14:30 > top of Java-index,Java Essentials,New To Java...
# 2
Ultimately you would have to declare only one class public to provide the VM an entry point
qUesT_foR_knOwLeDgea at 2007-7-12 8:14:30 > top of Java-index,Java Essentials,New To Java...
# 3
> Ultimately you would have to declare only one class> public to provide the VM an entry pointnope. You'd need one public class with a main method with the required signature.That's something else entirely.
jwentinga at 2007-7-12 8:14:30 > top of Java-index,Java Essentials,New To Java...