preview

Process Description Of Object Oriented Programming

Better Essays

PROCESS DESCRIPTION OF OBJECT-ORIENTED PROGRAMMING

Introduction

Object-Oriented Programming is a programming paradigm emphasized on “objects” which consists of data attributes and methods (Lewis; Loftus). Data attributes are comparable to nouns while methods are comparable to verbs in English. For instance, a person represented by object, has name, age, and gender as its data attributes. The person will be able to think, speak, and write with the representation of methods in the object.

The main purpose of learning Object-Oriented Programming is to create programs that are maintainable and scalable. Maintainability is essential for programmers to understand the codes in a program. Therefore, the codes have to be concise and clear. Moreover, programs need to be easy to upgrade to accommodate changes in real world. Hence, we need to have the capability to build a program on another program.

Object-Oriented Programming enables programmers to program by modeling the real world instead of defining the logic of how the world works. It focuses more on what makes up an object rather than what the object does. Programmers can focus on creating small components or objects, and group them together based on their relationships to build a larger object, which can be built upon again in future. The process of developing the paradigm consists the following steps: Encapsulation, Inheritance, Data Abstraction, and Polymorphism.

Discussion

Encapsulation

Encapsulation is an

Get Access