New Cohort Summer 2026 Tech Internships are now open! Limited seats available.
← Course Detail

C & C++ Programming

Computer Science

Chapter 9 — Inheritance, Polymorphism and Templates

Progress: 84%

Lesson 9.3 : Polymorphism in C++

Reading & Interactive Lesson

Lesson 9.3 FREE

Polymorphism in C++

Reading Material & Notes

Polymorphism

Polymorphism means one interface can represent different behaviors.

Compile-Time Polymorphism

Function overloading and operator overloading are examples.

Run-Time Polymorphism

Virtual functions are commonly used for runtime polymorphism.

class Animal
{
public:
    virtual void sound()
    {
        cout << "Animal sound";
    }
};

Course Curriculum

10 Chapters • 50 Lessons

View Course

Chapter 4 — Functions and Modular Programming

5 Lessons

LOCKED
Lesson 4.1 : Introduction to Functions
ENROLL
Lesson 4.2 : Function Parameters and Return Values
ENROLL
Lesson 4.3 : Function Declaration and Prototypes
ENROLL
Lesson 4.4 : Call by Value and Call by Reference
ENROLL
Lesson 4.5 : Recursion and Modular Programming
ENROLL

Chapter 5 — Arrays and Strings

5 Lessons

LOCKED
Lesson 5.1 : Introduction to Arrays
ENROLL
Lesson 5.2 : One-Dimensional Arrays
ENROLL
Lesson 5.3 : Two-Dimensional Arrays
ENROLL
Lesson 5.4 : Strings in C
ENROLL
Lesson 5.5 : Strings in C++
ENROLL

Chapter 6 — Pointers and References

5 Lessons

LOCKED
Lesson 6.1 : Introduction to Pointers
ENROLL
Lesson 6.2 : Pointer Arithmetic
ENROLL
Lesson 6.3 : Pointers and Arrays
ENROLL
Lesson 6.4 : Pointers and Functions
ENROLL
Lesson 6.5 : References in C++
ENROLL

Chapter 7 — Structures, Unions and Enumerations

5 Lessons

LOCKED
Lesson 7.1 : Structures in C and C++
ENROLL
Lesson 7.2 : Structure Variables and Arrays
ENROLL
Lesson 7.3 : Unions in C and C++
ENROLL
Lesson 7.4 : Enumerations
ENROLL
Lesson 7.5 : Structures, Unions and Enumerations Project
ENROLL

Chapter 8 — Object-Oriented Programming in C++

5 Lessons

LOCKED
Lesson 8.1 : Introduction to Object-Oriented Programming
ENROLL
Lesson 8.2 : Classes and Objects
ENROLL
Lesson 8.3 : Constructors and Destructors
ENROLL
Lesson 8.4 : Encapsulation and Access Specifiers
ENROLL
Lesson 8.5 : Abstraction in C++
ENROLL

Chapter 9 — Inheritance, Polymorphism and Templates

5 Lessons

LOCKED
Lesson 9.1 : Inheritance in C++
ENROLL
Lesson 9.2 : Types of Inheritance
ENROLL
Lesson 9.3 : Polymorphism in C++
ENROLL
Lesson 9.4 : Function and Operator Overloading
ENROLL
Lesson 9.5 : Templates in C++
ENROLL

Chapter 10 — File Handling and Mini Projects

5 Lessons

LOCKED
Lesson 10.1 : File Handling in C
ENROLL
Lesson 10.2 : File Handling in C++
ENROLL
Lesson 10.3 : Reading and Writing Structured Data
ENROLL
Lesson 10.4 : C and C++ Mini Project Development
ENROLL
Lesson 10.5 : Final C and C++ Project
ENROLL

C & C++ Programming

Chapters

10

Lessons

50

View Course Details