Elements of Object Oriented Programming

Object-Oriented Programming is centered on new concepts such as classes, polymorphism, inheritance, etc. It is a well suited paradigm for the following: Modeling the real world problem as close as possible to the perspective of the user. Interacting easily with computational environment using familiar metaphors Constructing reusable software components and easily extendable libraries. Easily modifying and extending implementations of components without having to recode everything from scratch. Definition of OOP: OOP uses objects as its fundamental building blocks. Each object is an instance of some class. Classes allow the mechanism… Read More

Object Oriented Programming Paradigm

OOP is a better way of solving computer problems compared to a procedural programming language such as C. OOP uses classes which contain members (variables) and methods (functions). OOP uses a modular type of programming structure. OOP is a type of programming in which programmers define not only the data type of a data structure, but also the types of operations that can be applied to the data structure. In this way, the data structure becomes an object that includes both data and functions. In addition, programmers can create relationships… Read More