Advantages and disadvantages of OOPs in c++ | My CS Tutorial - My CS Tutorial

Breaking

Programming languages full tutorial and programs, exam papers, visual basic( Vb.net ), information of new technologies and more....

Wednesday, July 15, 2020

Advantages and disadvantages of OOPs in c++ | My CS Tutorial

Advantages and disadvantages of object oriented programming language | OOPs Advantages and disadvantages in c++ | Object oriented programming | Advantages and disadvantages of c++ | My CS Tutorial


Advantages of Object oriented programming | My CS Tutorial

Advantages of Object Oriented Programming 


Object oriented programming has several advantage to the programmer and user.

(i) Through inheritance redundant code is eliminated and existing class can be extended according to requirement.

(ii) Data hiding can be achieved with the help of the data abstraction and encapsulation Data hiding helps the programmers to build secure programs.

(iii) It is easy to partition the work in a project based on a objects.

(iv) Object oriented system can be easily upgraded from small to large system.

(v) It provides message passing technique for communication between objects.

(vi) It is helpful in reducing complexity of the programs.

(vii) Object Oriented Programming supports re-usability of the code.

(viii) Security is the first main advantage of OOP, the data and functions are combined together in the form of class.

(ix) Software complexity can be easily managed.

Disadvantage of the Object Oriented Programming


(i) The message based communication between many objects in a complex system is difficult to implement.

(ii) Large program size : Object Oriented program typically involve more lines of code than procedural program It require more memory to process at a great speed. So it runs slower than the traditional programming language.

(iii) It works on object and everything of the real world is not possible to divide into new neat classes and sub-classes.

(iv) There are problems that lend themselves well to functional programming style, logic programming style, or procedure based programming style and applying object oriented programming in those situation will not result in efficient programs.



Advantages and disadvantages of object oriented programming language | OOPs Advantages and disadvantages in c++ | Object oriented programming | Advantages and disadvantages of c++ | My CS Tutorial
_______________________________________


Please share this post and blog link with your friends.For more programs use this blog.

If you have any problem, please comment in comment box, subscribe this blog for notifications of new post on your email and follow this blog.If you have any method of this tutorial or program or want to give any suggestion send email on hc78326@gmail.com

Created by-- HARSH CHAUHAN

No comments:

Post a Comment