Object Oriented Concepts: Inheritance

In this post we will be discussing What inheritance is? Why do we need inheritance? Types of Inheritance Inheritance in programming is acquiring attributes or properties from the parent class. With inheritance we can re-use code this helps us to create and maintain applications. Assume you have an application where customer can customize their furniture….

Object Oriented Concepts: Polymorphism

When you lookup for the meaning of word “Polymorphism” , you get “many forms” or “ability to take multiple forms”. What does this mean in terms of programming? Here the addition operator is adding two numbers in the first example and in the second it is concatenating strings this is polymorphism. Following is an example…

Object Oriented Concepts: Encapsulation

Book definition of Encapsulation is : “Binding of Data as well as Methods to a single unit”, What does it mean? Imagine you are building an online Job Portal and you accept parameters like Name of the User, Age and other demographics. The adds his/her information in your system: Here we are creating a user…

Object Oriented Concepts: Abstraction

To drive a car you need not know the internal architecture of the car or understand How the engine work, Similarly to operate a remote control you need not know the internal circuitry, all you really do it navigate from one channel to another. Our day to day lives have become so simple as we…

Object Oriented Design

OOPs is one of the most renowned programming paradigm used for development, many programmers prefer OOPS because of code re-usability, the ‘A PIE’ concepts and many more reasons.So what is OOPs?  Before we begin let’s look back and understand where did we come from. Long time ago in the stone-age of computers, say way back…