Object Oriented Programming (Advantages (Extensibility: Objects can be…
Object Oriented Programming
Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic.
Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data.
Slower programs: Object-oriented programs are typically slower than procedure- based programs, as they typically require more instructions to be executed.
Larger program size: Object-oriented programs typically involve more lines of code than procedural programs.
Not suitable for all types of problems: 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 situations will not result in efficient programs.
Learning may take time for some people: Some of the key programming techniques, such as inheritance and polymorphism, can be challenging to comprehend initially.
Extensibility: Objects can be extended to include new attributes and behaviours.
Modularity: It provides separation of duties in object-based program development.
Reusability: Objects can be reused within an across applications.
Easy to maintain
Higher quality software: Faster development of software and lower cost of development allows more time and resources to be used in the verification of the software.