Module 8 : OOP (SOLID, Encapsulation, Abstraction)
By the end of this module, students will be able to:
- Understand the fundamental concepts of Object-Oriented Programming (OOP)
- Transition from procedural C programming to OOP in C++
- Implement classes and objects in C++
- Apply encapsulation principles using access specifiers
- Understand and implement abstraction concepts
- Apply SOLID principles in basic C++ programs
1. Introduction: From Procedural to Object-Oriented Programming
1.1 What is Object-Oriented Programming? Object-Oriented Programming (OOP) is a programming parad...
2. C++ Basics: Essential Differences from C
2.1 Basic Syntax Differences C vs C++ Comparison: Feature C C++ File Extension .c .cpp I...
3. Classes and Objects
3.1 Understanding Classes and Objects Definition: Class: A blueprint or template for creating ob...
4. Encapsulation
4.1 What is Encapsulation? Encapsulation is the bundling of data (attributes) and methods that op...
5. Abstraction
5.1 What is Abstraction? Abstraction is the concept of hiding complex implementation details and ...
6. SOLID Principles
6.1 Introduction to SOLID SOLID is an acronym for five design principles that make software desig...
7. Constructors and Destructors
7.1 Constructors Purpose: Special member function that initializes an object when it's created. T...