SlideShare a Scribd company logo
Presentation on OOP
(Object Oriented Programming)
Presented by
RD
• Aprogrammingparadigmthatisfocusedon objectsand
data
•asopposedtoactionsandlogic
•Objectsareidentifiedtomodelasystem
•Objectsaredesignedtointeractwitheach other
What is OOP ?
• C++
• Java
• C#
• Java
• Visual Basic .NET
(VB.NET)
• Objective C
• PHP 5
• Python
• JavaScript
• Smalltalk
• Theta
• etc
Some OOP Languages
Basic Concept Of Object Oriented
Programming
Objects
Classes
Data Abstraction
Encapsulation
Inheritance
Polymorphism
Dynamic Binding
Message Passing
• They may represent a person, a place or any item
that the program must handle.
• Objects are the basic run-time entities in an object-
oriented system An object is entity that has state,
behavior and identity . there are many.
• Every object is associated with data and functions
which define meaningful operations on that object.
• Object is a real world existing entity.
• Object is an Instance of a particular class.
Objects
Example
Mouse is
object
Behavior
Left
Click
Scrolling
Right
Click
• A class is an entity that helps the programmer to
define a new complex data type. A class defines
the data and behavior of object . In simple words ,
a class is a collection of object of similar type.
• Classes are user -defined data types and it
behaves like built in types of programming.
• objects are variables of class.
• Once A class has been defined we can create any
number of objects for that class.
Class Fruit
StrawberryPineappleBanana Apple
:
“A data abstraction is a simplified view of an
object that includes only features one is
interested in while hides away the
unnecessary details.”
“Data abstraction becomes an abstract data
type (ADT)or a user-defined type.”
Data Abstraction
Example
Program Execution
Hiding Of Data
And Its
Background
Detail
Output
Encapsulation
• Encapsulation is the first pillar or principal
of object oriented programming.
• In simple words, "encapsulation is a process of
binding data members(variable, properties)and
member function(methods)into a single unit”
•And class is the best example of encapsulation.
Object oriented programming concepts
Encapsulation
Class: student
Attributes: st_name, st_id,
(Data) branch, semester
Functions: Enroll()
Displayinfo()
Result()
Performance()
Inheritance
•The mechanism of deriving a new class from an old
class is called inheritance or derivation.
•“Inheritance is the mechanism to provides the
power of reusability and extendibility.”
•“Inheritance is the process by which one object
can acquire the properties of another object.”
•The old class is known as base class while new
class is known as derived class or sub class
Example
Inheritance
Point
Line
Parent class
Or
Base class
Child class
Or
Derived
class
• Polymorphism is an important object oriented
programming concept. This is a Greek term, means the
ability to take more than one form.
Polymorphism
For Example
plus '+' is used to make sum of two number as well as
it is used to combine two strings.
Operator ‘+’
5+5=10 ‘in’+’dia’=india
Dynamic Binding
•Binding means link between procedure call and code
to be execute.
• It is the process of linking of a function call to the
actual code of the function at run-time.
•That is, in dynamic binding, the actual code to be
executed is not known to the compiler until run-time.
•It is also known late binding.
Massage Passing
• Objects can communicate with each others by passing
massage same as passing massage with each other.
• Objects can send or receive message or information.
• Message passing involves the following basic steps:
-Creating classes that define objects and their behavior.
-Creating objects from class definitions.
-Establishing communication among objects.
consider two classes product and order. the object
of the product class can communicate with the
order class by sending a request for placing order.
Example
order. place_order(qty_in_hand):
Object name
Function or
massage Information
(Optional)
Object :order1
Massage
passing
Order_place (int q)
{
}
Message Passing
FacultyObjectStudentObject
MgmtObject Performance
Result
Performance
Thank you

More Related Content

PPTX
OOPS In JAVA.pptx
PDF
Concepts of OOPs
PPTX
Object oriented programming concepts
PDF
Polymorphism in oop
PPT
Abstract class
PDF
Oops concepts || Object Oriented Programming Concepts in Java
PPTX
Classes objects in java
PPT
C++ classes tutorials
OOPS In JAVA.pptx
Concepts of OOPs
Object oriented programming concepts
Polymorphism in oop
Abstract class
Oops concepts || Object Oriented Programming Concepts in Java
Classes objects in java
C++ classes tutorials

What's hot (20)

PDF
java ppt.pdf
PPTX
Inner classes in java
PPTX
Interface in java
PDF
C++ OOPS Concept
PPT
Basic concepts of object oriented programming
PPTX
Encapsulation
PDF
VB net lab.pdf
PPTX
Introduction to JAVA
PPTX
Object Oriented Programming ppt presentation
PPTX
Object oriented programming in python
PPTX
OOP - Benefits and advantages of OOP
PPTX
Data Types, Variables, and Operators
PPTX
Python-Polymorphism.pptx
PPT
Function overloading(c++)
PPTX
Type conversion
PPT
Switch statements in Java
PPTX
Object Oriented Programming Concepts for beginners
PPT
Declaration of variables
PPTX
Abstract Class Presentation
PPTX
object oriented Programming ppt
java ppt.pdf
Inner classes in java
Interface in java
C++ OOPS Concept
Basic concepts of object oriented programming
Encapsulation
VB net lab.pdf
Introduction to JAVA
Object Oriented Programming ppt presentation
Object oriented programming in python
OOP - Benefits and advantages of OOP
Data Types, Variables, and Operators
Python-Polymorphism.pptx
Function overloading(c++)
Type conversion
Switch statements in Java
Object Oriented Programming Concepts for beginners
Declaration of variables
Abstract Class Presentation
object oriented Programming ppt
Ad

Viewers also liked (8)

DOC
PPTX
3 jornada
PPT
6 personal-perspectives-screen
DOC
Psy21 2005
PDF
в малом индустриальном городе россия
PPTX
Guion de Observacion 4
PDF
европейский опыт решения экологических проблем на межгосударственном уровне
DOCX
Resume dewi prilanti 2015 updated 210915
3 jornada
6 personal-perspectives-screen
Psy21 2005
в малом индустриальном городе россия
Guion de Observacion 4
европейский опыт решения экологических проблем на межгосударственном уровне
Resume dewi prilanti 2015 updated 210915
Ad

Similar to Object oriented programming concepts (20)

PPTX
Object oriented programming
PPTX
OOP Lesson 2.pptx
PDF
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
PPTX
Chapter 04 object oriented programming
PPTX
Object Oriented Programming Concepts Using C++
PPTX
introduction of Object oriented programming
PPTX
Characteristics of oop
PPTX
Object Oriented Programming fundamentals.pptx
PPTX
Concepts of oop1
PPTX
Object Oriented Programming - Cheat sheet.pptx
PPTX
Object Oriented Programming Language is an oop
PDF
1unit-120324103142-phpapp02.pdf
PPTX
Basic concept of oops
PPTX
Introduction to OOP concepts
PPTX
PPT_Object Oriented Programming .pptx
PPTX
PPT_Object Oriented Programming (2).pptx
PPTX
Basic Concepts of Object Oriented Programming using C++
PDF
Programming Laboratory Unit 1.pdf
Object oriented programming
OOP Lesson 2.pptx
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
Chapter 04 object oriented programming
Object Oriented Programming Concepts Using C++
introduction of Object oriented programming
Characteristics of oop
Object Oriented Programming fundamentals.pptx
Concepts of oop1
Object Oriented Programming - Cheat sheet.pptx
Object Oriented Programming Language is an oop
1unit-120324103142-phpapp02.pdf
Basic concept of oops
Introduction to OOP concepts
PPT_Object Oriented Programming .pptx
PPT_Object Oriented Programming (2).pptx
Basic Concepts of Object Oriented Programming using C++
Programming Laboratory Unit 1.pdf

Recently uploaded (20)

PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPT
Chapter 6 Design in software Engineeing.ppt
PPTX
Road Safety tips for School Kids by a k maurya.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
PPTX
24AI201_AI_Unit_4 (1).pptx Artificial intelligence
PPTX
436813905-LNG-Process-Overview-Short.pptx
PPTX
AgentX UiPath Community Webinar series - Delhi
PPTX
“Next-Gen AI: Trends Reshaping Our World”
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Drone Technology Electronics components_1
PDF
Geotechnical Engineering, Soil mechanics- Soil Testing.pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
Structs to JSON How Go Powers REST APIs.pdf
Chapter 6 Design in software Engineeing.ppt
Road Safety tips for School Kids by a k maurya.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
Embodied AI: Ushering in the Next Era of Intelligent Systems
The-Looming-Shadow-How-AI-Poses-Dangers-to-Humanity.pptx
24AI201_AI_Unit_4 (1).pptx Artificial intelligence
436813905-LNG-Process-Overview-Short.pptx
AgentX UiPath Community Webinar series - Delhi
“Next-Gen AI: Trends Reshaping Our World”
Model Code of Practice - Construction Work - 21102022 .pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
OOP with Java - Java Introduction (Basics)
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Drone Technology Electronics components_1
Geotechnical Engineering, Soil mechanics- Soil Testing.pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx

Object oriented programming concepts

  • 1. Presentation on OOP (Object Oriented Programming) Presented by RD
  • 3. • C++ • Java • C# • Java • Visual Basic .NET (VB.NET) • Objective C • PHP 5 • Python • JavaScript • Smalltalk • Theta • etc Some OOP Languages
  • 4. Basic Concept Of Object Oriented Programming Objects Classes Data Abstraction Encapsulation Inheritance Polymorphism Dynamic Binding Message Passing
  • 5. • They may represent a person, a place or any item that the program must handle. • Objects are the basic run-time entities in an object- oriented system An object is entity that has state, behavior and identity . there are many. • Every object is associated with data and functions which define meaningful operations on that object. • Object is a real world existing entity. • Object is an Instance of a particular class. Objects
  • 8. • A class is an entity that helps the programmer to define a new complex data type. A class defines the data and behavior of object . In simple words , a class is a collection of object of similar type. • Classes are user -defined data types and it behaves like built in types of programming. • objects are variables of class. • Once A class has been defined we can create any number of objects for that class.
  • 10. “A data abstraction is a simplified view of an object that includes only features one is interested in while hides away the unnecessary details.” “Data abstraction becomes an abstract data type (ADT)or a user-defined type.” Data Abstraction
  • 11. Example Program Execution Hiding Of Data And Its Background Detail Output
  • 12. Encapsulation • Encapsulation is the first pillar or principal of object oriented programming. • In simple words, "encapsulation is a process of binding data members(variable, properties)and member function(methods)into a single unit” •And class is the best example of encapsulation.
  • 14. Encapsulation Class: student Attributes: st_name, st_id, (Data) branch, semester Functions: Enroll() Displayinfo() Result() Performance()
  • 15. Inheritance •The mechanism of deriving a new class from an old class is called inheritance or derivation. •“Inheritance is the mechanism to provides the power of reusability and extendibility.” •“Inheritance is the process by which one object can acquire the properties of another object.” •The old class is known as base class while new class is known as derived class or sub class
  • 18. • Polymorphism is an important object oriented programming concept. This is a Greek term, means the ability to take more than one form. Polymorphism
  • 19. For Example plus '+' is used to make sum of two number as well as it is used to combine two strings. Operator ‘+’ 5+5=10 ‘in’+’dia’=india
  • 20. Dynamic Binding •Binding means link between procedure call and code to be execute. • It is the process of linking of a function call to the actual code of the function at run-time. •That is, in dynamic binding, the actual code to be executed is not known to the compiler until run-time. •It is also known late binding.
  • 21. Massage Passing • Objects can communicate with each others by passing massage same as passing massage with each other. • Objects can send or receive message or information. • Message passing involves the following basic steps: -Creating classes that define objects and their behavior. -Creating objects from class definitions. -Establishing communication among objects.
  • 22. consider two classes product and order. the object of the product class can communicate with the order class by sending a request for placing order. Example order. place_order(qty_in_hand): Object name Function or massage Information (Optional) Object :order1 Massage passing Order_place (int q) { }