Stage 6: User-Defined Types and OOP
Structures, classes, inheritance, polymorphism and object lifetime.
- 01
Structures
20 minLocked: Complete "Safe memory-management practices" first.
- 02
Enumerations
20 minLocked: Complete "Structures" first.
- 03
Type aliases
20 minLocked: Complete "Enumerations" first.
- 04
Classes and objects
20 minLocked: Complete "Type aliases" first.
- 05
Access specifiers
20 minLocked: Complete "Classes and objects" first.
- 06
Encapsulation
20 minLocked: Complete "Access specifiers" first.
- 07
Constructors
20 minLocked: Complete "Encapsulation" first.
- 08
Constructor overloading
20 minLocked: Complete "Constructors" first.
- 09
Destructors
20 minLocked: Complete "Constructor overloading" first.
- 10
The this pointer
20 minLocked: Complete "Destructors" first.
- 11
Static data members and methods
20 minLocked: Complete "The this pointer" first.
- 12
Friend functions
20 minLocked: Complete "Static data members and methods" first.
- 13
Composition
20 minLocked: Complete "Friend functions" first.
- 14
Inheritance
20 minLocked: Complete "Composition" first.
- 15
Public, protected, and private inheritance
20 minLocked: Complete "Inheritance" first.
- 16
Function overriding
20 minLocked: Complete "Public, protected, and private inheritance" first.
- 17
Virtual functions
20 minLocked: Complete "Function overriding" first.
- 18
Runtime polymorphism
20 minLocked: Complete "Virtual functions" first.
- 19
Abstract classes
20 minLocked: Complete "Runtime polymorphism" first.
- 20
Interfaces through abstract classes
20 minLocked: Complete "Abstract classes" first.
- 21
Virtual destructors
20 minLocked: Complete "Interfaces through abstract classes" first.
- 22
Operator overloading
20 minLocked: Complete "Virtual destructors" first.
- 23
Copy constructors
20 minLocked: Complete "Operator overloading" first.
- 24
Copy assignment
20 minLocked: Complete "Copy constructors" first.
- 25
Move constructors and move assignment
20 minLocked: Complete "Copy assignment" first.
- 26
Object lifetime and resource management
20 minLocked: Complete "Move constructors and move assignment" first.
Level up this stage
- Debugging: Private balance (intermediate)
- Debugging: Wrong shape speaks (advanced)
- Mini project: Student Management System
- Mini project: Simple Banking System
- Revise for exams: MCQs, short questions and past-paper programs