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

Structured programming only deals with procedures (functions) and variables. 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...

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
Loading

Subscribe for updates

Join Over 20,000+ Readers    

Advertisement