C++ Object oriented programming Part-1

 OOP stands for Object-Oriented Programming

Defination: 
Object oriented programming is a methodology to design program using classes and objects.

The building blocks of object Oriented Programming Concept:


It simplifies the software development and maintenance by using this concept:

  1. Object 
  2. Class
  3. Polymorphism 
  4. Encapsulation 
  5. Inheritance 
  6. Abstraction

Procedural programming is about writing procedures or functions that perform operations on the data, while object-oriented programming is about creating objects that contain both data and functions.

Advantages of Object oriented programming over procedural programming:

  • Object oriented programming makes development and maintenance easier where as in procedural programming it is not easy to manage if code grows as project size grows. 
  • Object oriented programming providing data hiding  where as in procedural programming a global data can be accessed from anywhere. 
  • Object oriented programming provide ability to simulate real world event much more effectively. We can provide the solution of real world problem if we are using Object Oriented Programming language. 

Comments

Popular posts from this blog

OOP Assignment 3 helping materials

Square root Algorithm in C++

OOP lab 7 task solution