Skip to content

Implemented Runtime Polymorphism

Mahmood Rasheed requested to merge task5 into main

Created a General Parent class Shape have method calculateArea(), then create Circle, Rectangle and Triangle as children class of Shape and override the methods according to the needs

Merge request reports