Explore
EXPLORE THE CATALOG
Supercharge your career with 700+ hands-on courses
View All Courses
Python
Java
JavaScript
C
React
Docker
Vue JS
R
Web Dev
DevOps
AWS
C#
LEARNING TOOLS
Explore the industry's most complete learning platform
Courses
Level up your skills
Cloud Labs
Setup-free practice with Cloud Services
Skill Paths
Achieve learning goals
Projects
Build real-world applications
Mock Interviews
New
AI-Powered interviews
Personalized Interview Prep
New
Get a custom roadmap tailored to your goals
Assessments
Benchmark your skills
Personalized Paths
Get the right resources for your goals
LEARN TO CODE
Check out our beginner friendly courses.
Pricing
For Business
Resources
Blog
For developers, By developers
Cheatsheets
Download handy guides for tech topics
Webinars
Sessions with our global developer community
Newsletter
Curated insights on AI, Cloud & System Design
Log In
Back To Module Home
Object-Oriented Programming in C++
0% completed
Introduction
What is OOP?
C++ as Object Oriented Language
C++ vs Java vs C#
Quiz
Classes
What is a Class?
Class Definition
Access Modifiers
Class Data Members
Class Member Functions
Constructors
Destructors
Friend Functions
Quiz
Challenge 1: Calculating Perimeter and Area of a Rectangle
Challenge 2: Calculate Student's Total Marks
Challenge 3: Implement a Calculator Class
Challenge 4: Calculate Distance Between Points
Data Hiding
What is Data Hiding?
Encapsulation
Abstraction in Classes
Abstraction in Header Files
Quiz
Challenge 1: Rearranging a Class
Inheritance
What is Inheritance?
Base Class and Derived Class
Base Class Constructor and Destructor
Function Overriding
Modes of Inheritance
Types of Inheritance
Multi-level Inheritance
The Diamond Problem
Advantages of Inheritance
Quiz
Challenge 1: Implement the Derived Class
Challenge 2: Implement an Animal Class
Challenge 3: Implement a Father Class
Challenge 4: Implement Derived Class to Calculate Min/Max/Mean
Polymorphism
What is Polymorphism?
Overriding
Virtual Member Functions
Pure Virtual Member Functions
Quiz
Challenge 1: Implement an Account Class Using Virtual Functions
Challenge 2: Implement a Class Using Pure Virtual Functions
Conclusion
Final Remarks