Question: answer it as soon as possible. 5 Marks Question 7 Let us consider the given inheritance hierarchy Shape display() Line display() Circle display() Rectangle display()

answer it as soon as possible.
5 Marks Question 7 Let us consider the given inheritance hierarchy Shape display() Line display() Circle display() Rectangle display() Create a polymorphic array and then invoke toString method to show dynamic behaviour
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
