Saturday, June 6, 2020

Can we overload main method in Java without compilation errors

Yes but static main(String[] args) method only be called ,other overloaded method will not be called while running java application

No comments:

Post a Comment