Inheritance

Let’s eat some PIE…!!!

So we have reached to a point where you guys need to know the three principles of object oriented programming. These are Encapsulation, Polymorphism and Inheritance and also called (PIE). In this post I’m going to give some little description about these three principles. I’ll provide more details about them with coding examples in later posts. Encapsulation Using encapsulation in our code we can keep safe our code and data from outside interference and misuse. This is the most important principle of all. We can prevent ourselves from…

Keep reading