I am working with overloading an thought the following code would work. When I compile it in DrJava, it compiles just fine. But when I try to run it I get the following message:
run Overload
Static Error: This class does not have a static void main method accepting
String[].
I don't quite understand why, since I have a main method in the MethodOverloading class, that it wants a main method in the Overload class.
Thank you for your help.