Can A Main Method Be Overloaded?
Answers
Answered by
1
Yes. You can have any number of main methods with different method signature and implementation in the class.
Answered by
1
Answer:
Yes, we can overload the main method in Java, but When we execute the class JVM starts execution with public static void main(String[] args) method
Similar questions