C++ Lab Index Sheet-7
C++ Lab Index Sheet-7
(AUTONOMOUS)
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
Problem Solving through Object Oriented Programming Lab
[2022 – 2023]
Lab Index Sheet – 7
Date Date of
Prog. Title of the Program Date of Pg
And Record
Num. (Module – 5) Execution No
Time Submission
47. Demonstrate the concept of public inheritance and
static polymorphism by creating a Shape base
class with Rectangle and Triangle as derived
classes with suitable attributes for getting the area.
48. Demonstrate the concept of Dynamic
polymorphism by creating a Shape base class with
Rectangle and Triangle as derived classes with
suitable attributes for getting the area. (OR)
With an example program, demonstrate the concept
of ad-hoc polymorphism. (OR)
Demonstrate the concept of runtime object
binding. (OR)
Demonstrate the concept of virtual function, pure
virtual function and function overriding. (OR)
(As per Timetable)
Signature of the
Faculty: