AI-powered learning
Save this course
Learn Object-Oriented Programming in C++
Delve into Object-Oriented Programming in C++ and discover key concepts like classes, objects, inheritance, and polymorphism to create efficient, reusable, and secure code through hands-on challenges.
4.7
68 Lessons
6h
Updated this week
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- Identify core OOP concepts and how objects model properties and behaviors in C++
- Compare C++ OOP features with Java and C# to explain key syntax and capability differences
- Write C++ functions using declarations, definitions, scope, and pass-by-value vs reference
- Implement function overloading to support multiple argument types and behaviors
- Use pointers for stack addresses, dynamic allocation (new/delete), and pointer arithmetic
- Design C++ classes with access modifiers, constructors/destructors, and member functions
- Implement inheritance and polymorphism using overriding, virtual, and pure virtual functions
Learning Roadmap
68 Lessons8 Quizzes2 Assessments11 Challenges
1.
Introduction
Introduction
Get familiar with OOP principles, C++ object-oriented features, and its comparison with Java and C#.
2.
Functions
Functions
Get started with writing and utilizing functions in C++ for modular, efficient code.
3.
Pointers
Pointers
8 Lessons
8 Lessons
Work your way through using pointers for memory management, dynamic allocation, and function arguments.
4.
Classes
Classes
13 Lessons
13 Lessons
Grasp the fundamentals of creating and managing classes, encapsulation, and constructors in C++.
5.
Data Hiding
Data Hiding
6 Lessons
6 Lessons
Take a closer look at data hiding, encapsulation, and abstraction principles in C++.
6.
Inheritance
Inheritance
14 Lessons
14 Lessons
See how inheritance in C++ promotes code reuse, organization, and extending functionality.
7.
Polymorphism
Polymorphism
7 Lessons
7 Lessons
Build on polymorphism in C++ with virtual functions, overriding, and implementing classes.
8.
Composition, Aggregation and Association
Composition, Aggregation and Association
6 Lessons
6 Lessons
Step through understanding composition, aggregation, and association in class interactions.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
Every Educative lesson is designed by a team of ex-MAANG software engineers and PhD computer science educators, and developed in consultation with developers and data scientists working at Meta, Google, and more. Our mission is to get you hands-on with the necessary skills to stay ahead in a constantly changing industry. No video, no fluff. Just interactive, project-based learning with personalized feedback that adapts to your goals and experience.
ABOUT THIS COURSE
Object-oriented programming (OOP) has been around for decades. If you have a basic understanding of C++ and are interested in leveling up your skills, this class will help you do just that.
Starting with an overview of the basics, you’ll dive into understanding the time-honored technique for implementing complex applications using user-defined classes. Followed up by discussing classes and objects, and then building up to the high-level topics including inheritance and polymorphism.
Throughout the course, you’ll be fully immersed in OOP for C++, with illustrations, exercises, quizzes, and hands-on challenges every step of the way. You’ll walk away with an understanding of classes and objects behavior and be able to easily create simple, efficient, reusable and secure code.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Related Courses and Skill Paths
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor
Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go
Future-proof Your Career
Get hands-on with in-demand skills
AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"
MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies
Free Resources
FOR TEAMS
Interested in this course for your business or team?Unlock this course (and 1,000+ more) for your entire org with DevPath
Learn in-demand tech skills in half the time
TRENDING TOPICS
LEGAL
Cookie Settings
