Object-oriented programming (OOP)is a computer programming model. Unlike procedural programming, object-oriented programming uses objects to organize code. This is done with objects, classes, methods and attributes.
This approach to programming is well-suited for programs that are large, complex and actively updated or maintained.
Frequently leads to over-engineering and is at the moment most commonly done using the Java programming language, which has a particularly shitty brand of object-orientation. Other popular object-oriented programming languages include C++ and C#.
the stimulation or manipulation of oneβs own ego by way of using object-oriented code in places where it has no advantage instead resulting in unnecessary complication and bloat.
Objective: Sum two numbers and print the result in the format βThe answer is: Xβ where X is the sum of the two numbers: