You are on page 1of 4

OBJECT ORIENTED

PROGRAMMING

INTRODUCTION
Two Paradigms

All computer programs consists of two


elements:
– Functions (procedures, subprograms
and routines)
– Data

Object Oriented Programming - Introduction R.B. Lenin Winter 2007 DA-IICT 2


Two Paradigms

A program can be conceptually


organized around its functions or
around its data.

Some programs are written around


“what is happening”

This is known as
“Procedure Oriented Programming”
Object Oriented Programming - Introduction R.B. Lenin Winter 2007 DA-IICT 3
Two Paradigms
• Other programs are written around
“who is being affected”

• This is known as
“Object Oriented Programming (OOP)

• These are the two paradigms that


govern how a program is constructed

Object Oriented Programming - Introduction R.B. Lenin Winter 2007 DA-IICT 4

You might also like