+ 4
A Java program for calculating arithmetic operations using inheritance, polymorphism, method overriding and overloading? Help
3 Respuestas
+ 2
Lets try this:
1. Create the first Class with the methods, overload some of them here.
2. Create a second Class extending the first, but use the same name, and signature (direct overriding) of a few methods from the first class extended.
3. Create a third Class, then instantiate on reference variables (1 object per class), and then call the methods on the different objects providing the parameters, and see the difference.
This should cover every criteria you have. Good luck AU.
+ 1
Thanks @Roberto
0
good