asked in Inheritance by (58.6k points)

1 Answer

Yes, you cannot overload a static method in Java. Overloading has nothing to do with runtime but the signature of each method must be different. In Java, to change the method signature, you must change either number of arguments, type of arguments or order of arguments.
answered by (58.6k points)

Java Interview Questions and Answers 2018