Menu

Saturday, June 7, 2014

Characteristics of OOP

Objects:
Objects are the basic entities in an OOP through which we perceive the world around us. We naturally see our environments as being composed of things which have both attributes and behavior .These attributes and behavior in real world are equivalent to data and function respectively in a program. Thus objects are the self contained entity that consists of both data and function.

Object Oriented Programming

The introduction to object oriented was done to remove some of the flaws encountered in the procedural approach. OOP treats the data as the critical element in the program development and does not allow it to flow freely around the system. It ties the data more closely o the functions that operate on it and protects it from accidental modifications from the outside functions.

Structured Programming


Structured programming (sometimes known as modular programming) is a subset of procedural programming that enforces a logical structure on the program being written to make it more efficient and easier to understand and modify. Certain languages such as Ada, Pascal, and dBASE are designed with features that encourage or enforce a logical program structure.


It is a logical programming method that is considered a precursor to object-oriented programming (OOP). Structured programming facilitates program understanding and modification and has a top-down design approach, where a system is divided into compositional subsystems.