Yes you can overload main method but public static void main(String[] args) is entry point in java. JVM always search for this method.
If it is not present in overloaded version ,when you try to run your code that gives run time exception no main method...
Home » Posts filed under overloading
Can we Overload Main method in java.
in
can we overload main method,
java,
java 5,
java 6,
java interview,
main method,
overload main,
overloading
- on March 04, 2016
- No comments
Overloading in java
in
java,
java interview,
overloading,
overloading in java,
overloading meaning
- on November 09, 2015
- No comments

In Interview, you can expect a bunch of questions over overloading and believe me those are very tricky, If you are not understand overloading then it will be very tough to crack interview as this is the fundamentals of Java.NB: Many people think overloading...