Data-Structure Lecture - 1




Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.
OOP treats data as a critical element in the program development and does not allow it to flow freely around the system. It ties data more closely to the functions that appear on it, and protects it from accidental modification from outside functions. OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects.


Some of the striking features of object-oriented programming are:

·       Emphasis is on data rather than procedure.
·       Programs are divided into what are known as objects.
·       Data structures are designed such that they characterize the objects
·       Data structures are designed such that they characterize the objects
·       Functions that operate on the data of an object are tied together in the data structure.
·       Data is hidden and cannot be accessed by external functions
·       Objects may communicate with each other through functions
·       New data and functions can be easily added whenever necessary
·       Follow bottom-up approach in program design.

Comments

Popular posts from this blog

Simple Pyramid