Free resources to learn OOPs

OOPs is used in real-world in which it uses objects and classes so the name is object-oriented programming. In OOPs the objects are the real-world entities whereas the classes are just a template or blueprint of the objects.

For example, If we have the class Car then Audi, BMW, etc, will become objects where Car class will have the Car properties and functions but objects will have specified values to the properties and specified working conditions in functions of the class.

  1. Class
  2. Object
  3. Method and method passing
  4.  Pillars of OOPS
    • Abstraction
    • Encapsulation
    • Inheritance
    • Polymorphism
      • Compile-time polymorphism
      • Run-time polymorphism

Resources:

OOPs-in-Java

Real-life-examples

OOPs-in-CPP

Latest posts by Savvy Sravya (see all)