Object Oriented Programming O O P S !
What is Object Oriented Programming • Programming based on the concepts of Classes and Objects. • A class defines – the object follows. • Class is an abstraction/blueprint and the object is the real-world version of the class (instance). Ex: Human being can be constructed as a class and John can be created as an object for the Class human being.
Structure of a class • A class contains basically two key components, namely - Attributes/variables - Functions/Methods -The attributes measure or define specific properties for the objects and methods are functions which can be used by the objects.
Examples of OOP Languages • Many widely used programming languages in the world are objected oriented programming languages, namely - C++ - C# - Python - Java - JavaScript
Advantages of OOPs • Simplify complex processes • Modularity enabling code reusability, scalability and efficiency. • Grouping similar things and segregating dissimilar things. • Data protection through the feature of encapsulation.

Object oriented programming

  • 1.
  • 2.
    What is ObjectOriented Programming • Programming based on the concepts of Classes and Objects. • A class defines – the object follows. • Class is an abstraction/blueprint and the object is the real-world version of the class (instance). Ex: Human being can be constructed as a class and John can be created as an object for the Class human being.
  • 3.
    Structure of aclass • A class contains basically two key components, namely - Attributes/variables - Functions/Methods -The attributes measure or define specific properties for the objects and methods are functions which can be used by the objects.
  • 4.
    Examples of OOPLanguages • Many widely used programming languages in the world are objected oriented programming languages, namely - C++ - C# - Python - Java - JavaScript
  • 5.
    Advantages of OOPs •Simplify complex processes • Modularity enabling code reusability, scalability and efficiency. • Grouping similar things and segregating dissimilar things. • Data protection through the feature of encapsulation.