Object-Oriented C++: Inheritance and Encapsulation
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Object-Oriented C++: Inheritance and Encapsulation
This course is part of Programming in C++: A Hands-on Introduction Specialization
17,824 already enrolled
Included with
Learn more
Ask Coursera
234 reviews
Recommended experience
234 reviews
Recommended experience
What you'll learn
How to architect larger programs using object-oriented principles
Re-use parts of classes using inheritance
Encapsulate relevant information and methods in a class
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
Code and run your first C++ program in minutes without installing anything!
This course is designed for learners with limited coding experience, providing a solid foundation of not just C++, but core Computer Science topics that can be transferred to other languages. The modules in this course cover inheritance, encapsulation, polymorphism, and other object-related topics. Completion of the prior 3 courses in this specialization is recommended. To allow for a truly hands-on, self-paced learning experience, this course is video-free. Assignments contain short explanations with images and runnable code examples with suggested edits to explore code examples further, building a deeper understanding by doing. You'll benefit from instant feedback from a variety of assessment items along the way, gently progressing from quick understanding checks (multiple choice, fill in the blank, and un-scrambling code blocks) to small, approachable coding exercises that take minutes instead of hours.
Welcome to Week 1 of the Object-Oriented C++: Inheritance and Encapsulation course. These assignments cover encapsulation, or the bundling of related functions and data related to an object within it's class. The module ends with a lab and graded coding exercises.
What's included
5 readings4 app items
5 readingsβ’Total 13 minutes
- Navigating Codio Assignmentsβ’5 minutes
- What is Encapsulation? Lesson Notes (Optional Download)β’1 minute
- Getters and Setters Lesson Notes (Optional Download)β’1 minute
- Encapsulation Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
- How to Reset an Assignment in Codioβ’5 minutes
4 app itemsβ’Total 135 minutes
- Codio: Encapsulation Coding Exercisesβ’45 minutes
- Codio: What is Encapsulation?β’30 minutes
- Codio: Getters and Settersβ’30 minutes
- Codio: Encapsulation Labβ’30 minutes
Welcome to Week 2 of the Object-Oriented C++: Inheritance and Encapsulation course. These assignments cover re-using code from one class in another class by creating an inheritance relationship between the classes. The module ends with a lab and graded coding exercises.
What's included
4 readings5 app items
4 readingsβ’Total 4 minutes
- Base & Derived Classes Lesson Notes (Optional Download)β’1 minute
- Extending and Overriding Lesson Notes (Optional Download)β’1 minute
- Multilevel Inheritance Lesson Notes (Optional Download)β’1 minute
- Inheritance Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
5 app itemsβ’Total 165 minutes
- Codio: Inheritance Coding Exercisesβ’45 minutes
- Codio: Base & Derived Classesβ’30 minutes
- Codio: Extending and Overridingβ’30 minutes
- Codio: Multilevel Inheritanceβ’30 minutes
- Codio: Inheritance Labβ’30 minutes
Welcome to Week 3 of the Object-Oriented C++: Inheritance and Encapsulation course. These assignments cover adding flexibility to functions by overloading and overriding them. The module ends with a lab and graded coding exercises.
What's included
2 readings3 app items
2 readingsβ’Total 2 minutes
- Polymorphism Lesson Notes (Optional Download)β’1 minute
- Polymorphism Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
3 app itemsβ’Total 120 minutes
- Codio: Polymorphism Coding Exercisesβ’45 minutes
- Codio: Polymorphismβ’30 minutes
- Codio: Polymorphism Labβ’45 minutes
Welcome to Week of the Object-Oriented Python: Inheritance and Encapsulation course. These assignments cover other topics involving classes and objects such as structs and enums. The module ends with a lab and graded coding exercises.
What's included
2 readings3 app items
2 readingsβ’Total 2 minutes
- Advanced Topics Lesson Notes (Optional Download)β’1 minute
- Advanced Topics Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
3 app itemsβ’Total 120 minutes
- Codio: Advanced Topics Coding Exercisesβ’45 minutes
- Codio: Advanced Topicsβ’45 minutes
- Codio: Advanced Topics Labβ’30 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Offered by
Explore more from Software Development
- Status: Free Trial
- Status: Free Trial
- Status: Free Trial
Course
- Status: Free TrialM
Microsoft
Course
Why people choose Coursera for their career
Learner reviews
- 5 stars
81.19%
- 4 stars
17.52%
- 3 stars
1.28%
- 2 stars
0%
- 1 star
0%
Showing 3 of 234
Reviewed on Jan 31, 2024
This course was beneficial to me. I have a lot from this course, I will suggest this course to my friends
Reviewed on Jan 25, 2023
A very good material with decent exercises. Really like this course!
Reviewed on Jun 5, 2023
I learned the basic concept of inheritance and encapsulation through this course! Thank you.
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you canβt afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, youβll find a link to apply on the description page.
More questions
Financial aid available,
