state in brief about polymorphism class hierarchy


State in brief about Polymorphism

Class hierarchy is the deciding feature in the case of more than one implementation of properties. An object oriented program to compute the area of different Figures would just call the Find_ Area operation on each figure if it is a triangle, circle, or something else. The decision of which procedure to use is made absolutely by each object, based on its class polymorphism makes safeguarding easier because there is no need to edit calling code when new class is added. 

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: state in brief about polymorphism class hierarchy
Reference No:- TGS0332890

Expected delivery within 24 Hours