SlideShare a Scribd company logo
1 of 23
OOP
(Object Oriented Programming)
A Presentation By:
Rasim Izhar Ali
BECS/S13/0109
What is OOP?
Object Oriented Programming (OOP) is a
programming technique in which programs
are written on the basis of objects.
Examples:
 C++
 PHP
 Java
 Objective-C
Classes And Objects
Classes(Classification Of Objects)
A class is a group of objects with same attributes
and behavior. The characteristics of a class are
:
 A name
 Attributes
 Behaviour
What is Object?
• An object represents an entity in the real
world such as a person , thing or concept etc.
• An object is identified by its name. All object
have these characteristics :
 Identity
 State
 Behaviour
 Reusability
Extensibility
 Decomposability
 Compos ability
 Understandability
 Security
Benefits Of OOP
Characteristics Of OOP
Characteristics Of OOP
 Inheritance
 Data Abstraction
 Data Encapsulation
 Polymorphism
Inheritance
Inheritance
A programming technique that is used to
reuse an existing class to build a new classis
known as inheritance.
Categories Of Inheritance
1) Single Inheritance:
In Single Inheritance, the child class inherits
all data members and member functions of
the base class.
2) Multiple Inheritance:
In Multiple Inheritance, the child class
inherits all data members and member
function of base class.
Types Of Inheritance
1) Public Inheritance:
In public inheritance, the access status of parent
class members in the derived class remains the
same.
• The public members of parent class become public
members of derived class.
• The private members of parent class become
private members of derived class.
• The protected members of parent class become
protected members of derived class.
2) Protected Inheritance:
In protected inheritance, the access status of
parent class members in derived class is restricted.
• The public members of parent class become
protected members of derived class.
• The protected members of parent class become
protected members of derived class.
• The private members of parent class become
private members of derived class.
3) Private Inheritance:
In private inheritance, the access status of parent
class members in the derived class is restricted.
• The private members of parent class become the
private members of derived class.
• The public members of parent class become the
private members of derived class.
• The protected members of parent class become the
private members of derived class.
Data Abstraction
Data Abstraction
Data abstraction or information hiding refers
to providing only essential information to the
outside world and hiding their background
details.
Advantages Of Data Abstraction
 Simplification of software development.
 Testing and debugging.
 Reusability.
 Security.
 Modifications to the representation of a data
type.
Data Encapsulation
Data Encapsulation
Data Encapsulation is an Object Oriented
Programming concept that binds together the data
and functions that manipulate the data and that
keep both safe from outside interference and
misuse.
Polymorphism
What is Polymorphism?
The word polymorphism is a combination of two
words poly and morphism. Poly means many and
morphism means form.
In object-oriented programming, polymorphism is
the ability of objects of different types to respond to
functions of the same name. The user does not have
to know the exact type of the object in advance. The
behavior of the object can be implemented at run
time.
Types Of Polymorphism
 Virtual functions.
 Operator overloading.
 Function overloading.
Thank you

More Related Content

What's hot

Applet life cycle
Applet life cycleApplet life cycle
Applet life cycle
myrajendra
 
Principles and advantages of oop ppt
Principles and advantages of oop pptPrinciples and advantages of oop ppt
Principles and advantages of oop ppt
daxesh chauhan
 
class and objects
class and objectsclass and objects
class and objects
Payel Guria
 
Unit 3 principles of programming language
Unit 3 principles of programming languageUnit 3 principles of programming language
Unit 3 principles of programming language
Vasavi College of Engg
 

What's hot (20)

Remote Method Invocation (RMI)
Remote Method Invocation (RMI)Remote Method Invocation (RMI)
Remote Method Invocation (RMI)
 
Applet life cycle
Applet life cycleApplet life cycle
Applet life cycle
 
Applets in java
Applets in javaApplets in java
Applets in java
 
Static Data Members and Member Functions
Static Data Members and Member FunctionsStatic Data Members and Member Functions
Static Data Members and Member Functions
 
Principles and advantages of oop ppt
Principles and advantages of oop pptPrinciples and advantages of oop ppt
Principles and advantages of oop ppt
 
Oop concepts in python
Oop concepts in pythonOop concepts in python
Oop concepts in python
 
Inheritance in c++
Inheritance in c++Inheritance in c++
Inheritance in c++
 
Types of Constructor in C++
Types of Constructor in C++Types of Constructor in C++
Types of Constructor in C++
 
Object oriented programming concepts
Object oriented programming conceptsObject oriented programming concepts
Object oriented programming concepts
 
Class and object in C++
Class and object in C++Class and object in C++
Class and object in C++
 
Programming in c Arrays
Programming in c ArraysProgramming in c Arrays
Programming in c Arrays
 
Association agggregation and composition
Association agggregation and compositionAssociation agggregation and composition
Association agggregation and composition
 
class and objects
class and objectsclass and objects
class and objects
 
Operator Overloading
Operator OverloadingOperator Overloading
Operator Overloading
 
Class and Objects in Java
Class and Objects in JavaClass and Objects in Java
Class and Objects in Java
 
C# Delegates
C# DelegatesC# Delegates
C# Delegates
 
Encapsulation C++
Encapsulation C++Encapsulation C++
Encapsulation C++
 
Unit 3 principles of programming language
Unit 3 principles of programming languageUnit 3 principles of programming language
Unit 3 principles of programming language
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handling
 
Polymorphism in c++(ppt)
Polymorphism in c++(ppt)Polymorphism in c++(ppt)
Polymorphism in c++(ppt)
 

Viewers also liked

Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
thinkphp
 

Viewers also liked (13)

OOPS Characteristics
OOPS CharacteristicsOOPS Characteristics
OOPS Characteristics
 
Oops ppt
Oops pptOops ppt
Oops ppt
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 
Java 8 presentation
Java 8 presentationJava 8 presentation
Java 8 presentation
 
Object-Oriented Programming Concepts
Object-Oriented Programming ConceptsObject-Oriented Programming Concepts
Object-Oriented Programming Concepts
 
Object oriented programming (oop) cs304 power point slides lecture 01
Object oriented programming (oop)   cs304 power point slides lecture 01Object oriented programming (oop)   cs304 power point slides lecture 01
Object oriented programming (oop) cs304 power point slides lecture 01
 
Encapsulation
EncapsulationEncapsulation
Encapsulation
 
Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programming
 
Media Workloads on AWS
Media Workloads on AWSMedia Workloads on AWS
Media Workloads on AWS
 
4+1 view model
4+1 view model4+1 view model
4+1 view model
 
55 New Features in Java SE 8
55 New Features in Java SE 855 New Features in Java SE 8
55 New Features in Java SE 8
 

Similar to Characteristics of oop

Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
Komal Singh
 
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.pptintroduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
kaavyashruthi
 

Similar to Characteristics of oop (20)

Introduction to OOP concepts
Introduction to OOP conceptsIntroduction to OOP concepts
Introduction to OOP concepts
 
Object oriented vs. object based programming
Object oriented vs. object based  programmingObject oriented vs. object based  programming
Object oriented vs. object based programming
 
Concepts of oop1
Concepts of oop1Concepts of oop1
Concepts of oop1
 
OOP
OOPOOP
OOP
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming language
 
Principles of OOPs.pptx
Principles of OOPs.pptxPrinciples of OOPs.pptx
Principles of OOPs.pptx
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
 
JAVA - Oops Concept.pptx
JAVA - Oops Concept.pptxJAVA - Oops Concept.pptx
JAVA - Oops Concept.pptx
 
Questpond - Top 10 Interview Questions and Answers on OOPS
Questpond - Top 10 Interview Questions and Answers on OOPSQuestpond - Top 10 Interview Questions and Answers on OOPS
Questpond - Top 10 Interview Questions and Answers on OOPS
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
 
Oop
OopOop
Oop
 
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.pptintroduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
 
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.pptintroduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Cs8392 oops 5 units notes
Cs8392 oops 5 units notes Cs8392 oops 5 units notes
Cs8392 oops 5 units notes
 
Principles of oop
Principles of oopPrinciples of oop
Principles of oop
 
Object Oriented Programming Language is an oop
Object Oriented Programming Language is an oopObject Oriented Programming Language is an oop
Object Oriented Programming Language is an oop
 
CS3391 -OOP -UNIT – I NOTES FINAL.pdf
CS3391 -OOP -UNIT – I  NOTES FINAL.pdfCS3391 -OOP -UNIT – I  NOTES FINAL.pdf
CS3391 -OOP -UNIT – I NOTES FINAL.pdf
 
PHP OOP Lecture - 01.pptx
PHP OOP Lecture - 01.pptxPHP OOP Lecture - 01.pptx
PHP OOP Lecture - 01.pptx
 

Recently uploaded

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Recently uploaded (20)

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 

Characteristics of oop

  • 1. OOP (Object Oriented Programming) A Presentation By: Rasim Izhar Ali BECS/S13/0109
  • 2. What is OOP? Object Oriented Programming (OOP) is a programming technique in which programs are written on the basis of objects. Examples:  C++  PHP  Java  Objective-C
  • 4. Classes(Classification Of Objects) A class is a group of objects with same attributes and behavior. The characteristics of a class are :  A name  Attributes  Behaviour
  • 5. What is Object? • An object represents an entity in the real world such as a person , thing or concept etc. • An object is identified by its name. All object have these characteristics :  Identity  State  Behaviour
  • 6.  Reusability Extensibility  Decomposability  Compos ability  Understandability  Security Benefits Of OOP
  • 8. Characteristics Of OOP  Inheritance  Data Abstraction  Data Encapsulation  Polymorphism
  • 10. Inheritance A programming technique that is used to reuse an existing class to build a new classis known as inheritance.
  • 11. Categories Of Inheritance 1) Single Inheritance: In Single Inheritance, the child class inherits all data members and member functions of the base class. 2) Multiple Inheritance: In Multiple Inheritance, the child class inherits all data members and member function of base class.
  • 12. Types Of Inheritance 1) Public Inheritance: In public inheritance, the access status of parent class members in the derived class remains the same. • The public members of parent class become public members of derived class. • The private members of parent class become private members of derived class. • The protected members of parent class become protected members of derived class.
  • 13. 2) Protected Inheritance: In protected inheritance, the access status of parent class members in derived class is restricted. • The public members of parent class become protected members of derived class. • The protected members of parent class become protected members of derived class. • The private members of parent class become private members of derived class.
  • 14. 3) Private Inheritance: In private inheritance, the access status of parent class members in the derived class is restricted. • The private members of parent class become the private members of derived class. • The public members of parent class become the private members of derived class. • The protected members of parent class become the private members of derived class.
  • 16. Data Abstraction Data abstraction or information hiding refers to providing only essential information to the outside world and hiding their background details.
  • 17. Advantages Of Data Abstraction  Simplification of software development.  Testing and debugging.  Reusability.  Security.  Modifications to the representation of a data type.
  • 19. Data Encapsulation Data Encapsulation is an Object Oriented Programming concept that binds together the data and functions that manipulate the data and that keep both safe from outside interference and misuse.
  • 21. What is Polymorphism? The word polymorphism is a combination of two words poly and morphism. Poly means many and morphism means form. In object-oriented programming, polymorphism is the ability of objects of different types to respond to functions of the same name. The user does not have to know the exact type of the object in advance. The behavior of the object can be implemented at run time.
  • 22. Types Of Polymorphism  Virtual functions.  Operator overloading.  Function overloading.