mirror of
https://github.com/robindhole/fundamentals.git
synced 2025-03-15 22:10:22 +00:00
Code snippets across topics
Bank transfers in procedural and object-oriented programming
Object-oriented programming
Encapsulation
Inheritance
Polymorphism
- Mentor class
- Subtyping - Mentor and Student as User
- Method overloading -
printInfo
- Method overriding - Overriding
printInfo
in Student
SOLID principles
- Bird - v0
Bird - v1 - After fixing SRP and OCP
Assignment for SOLID - I
- Find where the code violates SRP
- Fix the code to make it adhere to SRP