Course
Learn Object-Oriented Programming (OOP) with C++
In this course, we will discuss the four basic principles of object-oriented programming and see how we can implement and use them in C++.
This course includes
This course includes
Skill level
IntermediateTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary10 hoursProjects
4Prerequisites
1 courseWe suggest you complete the following courses before you get started with Learn Object-Oriented Programming (OOP) with C++:- Learn C++
About this course
Object-oriented programming is a fundamental concept in computer science. It is a widely used paradigm when building applications for various platforms. In this course, you will learn about the four basic principles of object-oriented programming, and you can implement them in C++.
Skills you'll gain
How to build classes using encapsulation
What abstraction is and how it can be useful when working on complex projects
How to logically group classes using inheritance
How to use polymorphism
Syllabus
4 lessons • 4 projects • 4 quizzesCertificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Projects in this course
- practice Project
The Secure Banking System
Learn to create and manage accounts with features like deposits, withdrawals, and fund transfers between accounts. - practice Project
Fusion Kitchen
Implement the concept of a fusion restaurant using inheritance in C++. - practice Project
Epic Duel
Use polymorphism to simulate a game.
Meet the creator of the course

Hisham Touma
Associate Instructional DesignerEarn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Learn Object-Oriented Programming (OOP) with C++ today!
Looking for something else?
Related resources
- Article
Understanding Polymorphism in Python (With Examples)
Learn how to implement polymorphism in Python with practical examples and applications. Master this essential OOP concept to write more flexible, reusable code for your projects. - Article
Why Object-Oriented Programming?
Why has object-oriented programming become a major programming paradigm? - Article
Python Inheritance Explained: Types and Use Cases
Learn what Python inheritance is and how it enables code reuse. Explore different types of inheritance, such as single, multiple, and hybrid. Understand the `super()` function and real-world applications of inheritance in Python.
Related courses and paths
- Learn intermediate C++ concepts like variable scope, storage classes, OOP, namespaces, templates, enumerations, and more to build efficient applications.
- With Certificate
- Intermediate.20 hours
- Explore C# subclasses, classes, superclasses, and more in this introduction to object-oriented programming with C#.
- Beginner Friendly.8 hours
- Learn how to go further with classes by using inheritance and polymorphism.
- Beginner Friendly.2 hours
Browse more topics
- Computer science6,921,289 learners enrolled
- C++998,522 learners enrolled
- Code foundations8,431,213 learners enrolled
- Web development5,655,540 learners enrolled
- Data science5,246,661 learners enrolled
- Python4,241,086 learners enrolled
- For business4,042,199 learners enrolled
- JavaScript3,175,717 learners enrolled
- Data analytics3,145,335 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.







