Sunteți pe pagina 1din 8

2019-ag-2781

MUHAMMAD USMAN
RAMZAN

ramzanusman917@gmail.com
EVOLUTION AND
PRINCIPLES OF OOP
EVOLUTION
The OOP approach is most commonly used approach now a days .
OOP is being used for designing large and complex applications .
Before OOP There are many programming languages which were
used To develop the programs .
These languages are only used to design simple programs
With in the passing of time many languages are used to design
the large programs
EVOLUTION OF OOP
Before 1970 1970 1980
Machine language Procedural language OOP
Initially for designing Then in 1970, a new
small and simple programming approach
programs , the machine In 1980's the size of
called Structured
language was used .next programs kept increasing
Programming
came the assembly so a new approach known
Approach was developed
language which was as OOP was invented. 
for designing medium sized
used for designing for programs.
large programs.both
machine and assembly
languages are machine
dependent .
PRINCIPLES
OF OOP
There are four basic principles of OOP

P
O
 ENCAPSULATION

O
 DATA ABSTRACTION
 POLYMORPHISM
 INHERITANCE
OOP is a programming technique in which programs
are written on the both basis of objects.
OBJECT An object is a collection of data and functions.
Object may represent a person , thing or place i
ORIENTED real world. In oop data and all the possible
functions on data are grouped together.

PROGRAMMING oop is easier to learn and modify.


It is a powerful technique to develop
a softwere.
Principles of OOP
•OBJECTS:
OOP provides the facility of programming based on objects.
Object is an entity that consist of data and functions.
•CLASSES:
Classes are design for creating objects. OOP provides the facility to
design classes for
creating different objects. All properties
And functions of an object are specified in
classes.
THANK YOU

MSC CS 2nd B

S-ar putea să vă placă și