0% found this document useful (0 votes)
39 views6 pages

Principal of Oopsaddadada

This document discusses procedural programming (POP) and object-oriented programming (OOP). It defines POP and describes its main program and functions. It then introduces OOP concepts like objects, classes, data abstraction, encapsulation, inheritance, polymorphism, and dynamic binding. Examples are provided like a student object with data and functions, the inheritance hierarchy of different types of birds, and using polymorphism to draw different shapes. Benefits and applications of OOP are also mentioned.

Uploaded by

Rahul Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views6 pages

Principal of Oopsaddadada

This document discusses procedural programming (POP) and object-oriented programming (OOP). It defines POP and describes its main program and functions. It then introduces OOP concepts like objects, classes, data abstraction, encapsulation, inheritance, polymorphism, and dynamic binding. Examples are provided like a student object with data and functions, the inheritance hierarchy of different types of birds, and using polymorphism to draw different shapes. Benefits and applications of OOP are also mentioned.

Uploaded by

Rahul Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

 MEANING

 DEFINITION
 POP(Procedure Oriented Programming)

MAIN PROGRAM

FUNCTION 1 FUNCTION 2 FUNCTION 3

FUNCTION 4 FUNCTION 5

FUNCTION 6 FUNCTION 7 FUNCTION 8

By Hardeep Singh
 DRAWBACK OF POP
 CHARACTERISTICS OF POP
 FEATURES OF OOP

DATA DATA

FUNCTIONS FUNCTIONS

FUNCTIONS

DATA

By Hardeep Singh
 CONCEPTS OF OBJECT-ORIENTED
PROGRAMMING
 OBJECTS:-
OBJECT:STUDENT Student
DATA Total
Name
Date of birth
Marks
…………… Average

FUNCTIONS
Total
Average Display
Display
.………….

By Hardeep Singh
 CLASSES
 DATA ABSTRACTION AND ENCAPSULATION
 Inheritance
BIRD
Attributes
Features
Lay eggs

Flying bird Non flying


bird
Attributes Attributes
………… …………..
………… …………..

Robin Swallow Penguin Kiwi


Attributes Attributes Attributes
Attributes
……….. ………….. ……………
…………
……….. ………….. ……………
…………

By Hardeep Singh
 POLYMORPHISM
Shape
Draw( )

Circle object Box object Triangle object

Draw(circle) Draw(box ) Draw(triangle)

 DYNAMIC BINDING
 MESSAGE PASSING

By Hardeep Singh
 BENEFITS OF OOP

 APPLICATIONS OF OOP

By Hardeep Singh

You might also like