Category: Object Oriented Programming

Polymorphism

In OOP terms, polymorphism represents the ability to resolve a reference to an object’s method at run time. Specifically, different objects could make a call to a Draw or Print method, and these methods would act differently with each object; the process can take different forms behind a common interface. One of the benefits of polymorphism is that because the interface is common to objects, any object is able to respond differently to some common set of tasks, and objects are independent of each other.

Read More

Objects

The basic idea behind the Object Oriented Programming is that it deals with the objects. In real life everything is an object and every object has properties and functionality.

Read More

Inheritance

In real life inheritance is what we acquire from our parents. For example our lifestyle, way of talking etc… In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties...

Read More

Object Oriented Programming Techniques

Any program which uses these five methodologies or any of it, we can call that program object oriented. They are Encapsulation, Data Hiding, Overloading, Polymorphism, Inheritance. Any programming language which supports all of these features and facilitate the programmer in developing the program in these methodologies is called Object Oriented Programming Language i.e. C++, Java, C#.

Read More