The Principles of OOP

Tech

Object-Oriented Programming (OOP) is based on four important principles: 1. Encapsulation Definition: Encapsulation is the concept of bundling data (attributes) and the methods (functions) that operate on the data into a single unit (a class); Purpose: It helps in hiding the internal details…

Read more… The Principles of OOP

Derived classes

Tech

This image from the Codefinty class C# Beyond Basics is a great visual on derived classes, also known as parent/child classes. A derived class (also called a child class) is a class which inherits the properties of some other class while on the contrary, a base…

Read more… Derived classes

1 2