Definition of OOP, it’s Advantage & Disadvantage


The object oriented programming is a programming paradigm that uses “object” to design applications and computer  programs. It utilizes several techniques from previously established paradigms, including modularity, polymorphism, inheritance, and encapsulation. Due to use of these strong features, during these days, it is commonly used in mainstream software development. Programming languages like in C++, Java, JavaScript, PHP, C#, VB.Net and Objective-C  are object oriented programming languages.

Advantages of Object Oriented Programming
The following are the advantages of object oriented programming:

  1. The complexity of the software can be merged easily.
  2. The data hiding concept  helps the programmer to build secure programs.
  3. Through class idea, we can characterize the user characterized information types.
  4. The inheritance idea can be utilized to dispense with the redundant code.
  5. OOP allows the programmer for communicating between different objects.
  6. By the help of inheritance concept, different classes which have combined features can be defined.
  7. In any time, you can easily code new data and functions.
  8. OOP treats data as  critical element and do not allow to floe freely around  the program.
  9. OOP ties data elements more closely to the functions that operate on.

Disadvantages of object oriented programming:

  1. Use of OOP is wastage of time in case of small projects or codes.
  2. OOP are Comparatively larger than that of other programs.
  3. Specifically, a big part of planning process goes into associated Object orientated Program well before one piece of code is ever written.
  4. Due to their size, Object  Oriented Programs are slower than other programs to some extent. Other aspects of Object Oriented Programs  also demand more system  resources, thus slowing the program down.

Inheritance is the property that allows the reuse of an existing class to build a new class. The principle in this sort of division is that each subclass shares common properties with the class from which it is derived. For example, all vehicle in a class may share similar properties of having wheels and a motor.

Thank You for visiting us.
Visit again for daily updates and more tech related information.


You May Also Like:

Inheritance, Encapsulation, Polymorphism & Abstraction

Multimedia And It’s Components

Applications Or Uses of AI