+ 4

A Java program for calculating arithmetic operations using inheritance, polymorphism, method overriding and overloading? Help

12th Jan 2018, 11:30 AM
AU Hameed
AU Hameed - avatar
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.
12th Jan 2018, 4:11 PM
Roberto Guisarre
Roberto Guisarre - avatar
+ 1
Thanks @Roberto
12th Jan 2018, 4:50 PM
AU Hameed
AU Hameed - avatar
0
good
12th Feb 2018, 5:28 PM
Prince Adeniyi Ashek
Prince Adeniyi Ashek - avatar