Presentation on - OOPS
Presentation by-
Abhishek kumr
01234321
CSE/3rd
Object Oriented Programming (OOP)
is a programming technique in which
programs are written on the basis of objects.
Examples:
 C++
 PHP
 Java
Classes And Objects
A class is a group of objects with same
attributes and behavior.
A class is user define derived class that
combines both data and function and function
and manipulate the data.
Object is a class type variable. Objects are also called
instance of the class. Each object contains all
members(variables and functions) declared in the class :
 Identity
 State
 Behaviour
 Reusability
 Extensibility
 Decomposability
 Compos ability
 Understandability
 Security
Characteristics Of
OOP
 Inheritance
 Data Abstraction
 Data Encapsulation
 Polymorphism
Inheritance
A programming technique that is used to reuse
an existing class to build a new classis known as
inheritance.
5 levels of inheritance -
-Single level
-Multilevel
-Multiple
-Hierarchical
-Hybrid
Flower
Rose
When a sub class inherit the property from only one
base class, then it is known as Single Inheritance
BASE CLASS
SUB CLASS
SINGLE INHETANE :-
When a sub class inherit the property from the class that itself
inherit from another class , then it is known as Multi Level
Inheritance.
Bird
PigeonParrot
Multiple
Base Class
Derived
When a sub class inherit the property from several base class,
then it is known as multiple inheritance.
B DC
A
G HFE
When several sub class inherit the property from single base class, then it is
known as hierarchical inheritance.
India
World
Rajasthan
Jaipur
In hybrid inheritance several inheritance forms
Are combined.
Data Abstraction
Data abstraction or information hiding refers to
providing only essential information to the outside
world and hiding their background details.
 Simplification of software development.
 Testing and debugging.
 Reusability.
 Security.
 Modifications to the representation of a data
type.
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
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.
 Virtual functions.
 Operator overloading.
 Function overloading
Thank you

Characteristics of OOPS

  • 1.
    Presentation on -OOPS Presentation by- Abhishek kumr 01234321 CSE/3rd
  • 2.
    Object Oriented Programming(OOP) is a programming technique in which programs are written on the basis of objects. Examples:  C++  PHP  Java
  • 3.
  • 4.
    A class isa group of objects with same attributes and behavior. A class is user define derived class that combines both data and function and function and manipulate the data.
  • 5.
    Object is aclass type variable. Objects are also called instance of the class. Each object contains all members(variables and functions) declared in the class :  Identity  State  Behaviour
  • 6.
     Reusability  Extensibility Decomposability  Compos ability  Understandability  Security
  • 7.
  • 8.
     Inheritance  DataAbstraction  Data Encapsulation  Polymorphism
  • 9.
  • 10.
    A programming techniquethat is used to reuse an existing class to build a new classis known as inheritance.
  • 11.
    5 levels ofinheritance - -Single level -Multilevel -Multiple -Hierarchical -Hybrid
  • 12.
    Flower Rose When a subclass inherit the property from only one base class, then it is known as Single Inheritance BASE CLASS SUB CLASS SINGLE INHETANE :-
  • 13.
    When a subclass inherit the property from the class that itself inherit from another class , then it is known as Multi Level Inheritance.
  • 14.
    Bird PigeonParrot Multiple Base Class Derived When asub class inherit the property from several base class, then it is known as multiple inheritance.
  • 15.
    B DC A G HFE Whenseveral sub class inherit the property from single base class, then it is known as hierarchical inheritance.
  • 16.
    India World Rajasthan Jaipur In hybrid inheritanceseveral inheritance forms Are combined.
  • 17.
  • 18.
    Data abstraction orinformation hiding refers to providing only essential information to the outside world and hiding their background details.
  • 19.
     Simplification ofsoftware development.  Testing and debugging.  Reusability.  Security.  Modifications to the representation of a data type.
  • 20.
  • 21.
    Data Encapsulation isan 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.
  • 22.
  • 23.
    The word polymorphismis 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.
  • 24.
     Virtual functions. Operator overloading.  Function overloading
  • 25.