0% found this document useful (0 votes)
8 views9 pages

Pythonppt

Uploaded by

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

Pythonppt

Uploaded by

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

PYTHON

PPT presentation
Name : Saste Kiran Rohidas
student ID : 76
Object-oriented Programing(OOP)
 Object-oriented programming is a method of structuring a program by bundling related
properties and behaviors into individual object.
 Conceptually, object are like the components of a system.
Features of OOP
 Object
 Class
 Inheritance
 Polymorphism
 Encapsulation
Object
The object is an entity thet state and behavior.
It may be any real-world object like the mouse, keyboard,
chair, table, pen, etc.
Class
The class can be defined as a collection of objects.
It is a logical entity that has some specific attributes and methods.
Inheritance
Inheritance is the most important aspect of object-oriented programming which simulates
the real world concept of inheritance.
It specifies that the child object acquires all the properties and behaviors of the parent
object.
By using inheritance, we can creat a class which uses all the properties and behaviors of
another class.
• Single Inheritance
• Multiple Inheritance
• Multilevel Inheritance
Polymorphism
Polymorphism contains two words “poly” and “morphs”.
Poly means many and morph means form. By polymorphism, we
understand that one task can be perfomed in different ways.
Encapsulation
Encapsulation is also an important aspect of object-oriented programming.
It is used to restrict access to methods and variables.
In encapsulation, code and data are wrapped together within a single unit from being
modify by accident.
Thanks…

You might also like