SlideShare a Scribd company logo
2
Most read
3
Most read
7
Most read
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

What's hot (20)

PPT
Abstract class in java
Lovely Professional University
 
PPTX
Introduction to oop
colleges
 
PPTX
Classes objects in java
Madishetty Prathibha
 
PDF
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
PPTX
1 unit (oops)
Jay Patel
 
PPTX
Inheritance in java
RahulAnanda1
 
PPTX
Object oriented programming
Amit Soni (CTFL)
 
PPTX
Inheritance in java
Tech_MX
 
ODP
OOP java
xball977
 
PPTX
Object Oriented Programming
Iqra khalil
 
PPTX
Java Data Types
Spotle.ai
 
PPTX
Chapter 05 classes and objects
Praveen M Jigajinni
 
PPTX
OOPS In JAVA.pptx
Sachin33417
 
PPTX
Oop c++class(final).ppt
Alok Kumar
 
PPTX
Classes, objects in JAVA
Abhilash Nair
 
PPTX
Introduction to Object Oriented Programming
Moutaz Haddara
 
PPTX
Java(Polymorphism)
harsh kothari
 
PPT
Object and class relationships
Pooja mittal
 
PPT
Introduction to method overloading & method overriding in java hdm
Harshal Misalkar
 
PPTX
This keyword in java
Hitesh Kumar
 
Abstract class in java
Lovely Professional University
 
Introduction to oop
colleges
 
Classes objects in java
Madishetty Prathibha
 
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
1 unit (oops)
Jay Patel
 
Inheritance in java
RahulAnanda1
 
Object oriented programming
Amit Soni (CTFL)
 
Inheritance in java
Tech_MX
 
OOP java
xball977
 
Object Oriented Programming
Iqra khalil
 
Java Data Types
Spotle.ai
 
Chapter 05 classes and objects
Praveen M Jigajinni
 
OOPS In JAVA.pptx
Sachin33417
 
Oop c++class(final).ppt
Alok Kumar
 
Classes, objects in JAVA
Abhilash Nair
 
Introduction to Object Oriented Programming
Moutaz Haddara
 
Java(Polymorphism)
harsh kothari
 
Object and class relationships
Pooja mittal
 
Introduction to method overloading & method overriding in java hdm
Harshal Misalkar
 
This keyword in java
Hitesh Kumar
 

Viewers also liked (20)

PPT
Object Oriented Programming Concepts
thinkphp
 
PPT
Oops ppt
abhayjuneja
 
PPTX
Object Oriented Programming
Army Public School and College -Faisal
 
PPT
INPUT BOX- VBA
ViVek Patel
 
PDF
3-oop java-inheritance
Amr Elghadban (AmrAngry)
 
PDF
Object Oriented Paradigm
Hüseyin Ergin
 
PPTX
Debugging
nicky_walters
 
PPT
Dotnet framework
Nitu Pandey
 
PPT
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
Subhas Malik
 
PPT
Inheritance, Object Oriented Programming
Arslan Waseem
 
PPTX
Objects and classes in Visual Basic
Sangeetha Sg
 
PPT
Object-Oriented Programming Using C++
Salahaddin University-Erbil
 
PPTX
Inheritance in oops
Hirra Sultan
 
PPTX
Error handling and debugging in vb
Salim M
 
PDF
Object-oriented Programming-with C#
Doncho Minkov
 
PPT
SEMINAR
priteshkhandelwal
 
PPTX
Strings in Java
Abhilash Nair
 
PPTX
Constructors & destructors
ForwardBlog Enewzletter
 
PPTX
Exception handling
Abhishek Pachisia
 
Object Oriented Programming Concepts
thinkphp
 
Oops ppt
abhayjuneja
 
Object Oriented Programming
Army Public School and College -Faisal
 
INPUT BOX- VBA
ViVek Patel
 
3-oop java-inheritance
Amr Elghadban (AmrAngry)
 
Object Oriented Paradigm
Hüseyin Ergin
 
Debugging
nicky_walters
 
Dotnet framework
Nitu Pandey
 
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
Subhas Malik
 
Inheritance, Object Oriented Programming
Arslan Waseem
 
Objects and classes in Visual Basic
Sangeetha Sg
 
Object-Oriented Programming Using C++
Salahaddin University-Erbil
 
Inheritance in oops
Hirra Sultan
 
Error handling and debugging in vb
Salim M
 
Object-oriented Programming-with C#
Doncho Minkov
 
Strings in Java
Abhilash Nair
 
Constructors & destructors
ForwardBlog Enewzletter
 
Exception handling
Abhishek Pachisia
 
Ad

Similar to Object oriented programming concepts (20)

PPTX
OOP Lesson 2.pptx
FranzLawrenzDeTorres1
 
PDF
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
ApurvaLaddha
 
PPTX
Chapter 04 object oriented programming
Praveen M Jigajinni
 
PPTX
Object Oriented Programming Concepts Using C++
Mtnc BCA DEPARTMENT
 
PPTX
introduction of Object oriented programming
RiturajJain8
 
PPTX
Characteristics of oop
Rasim Izhar Ali
 
PPTX
Object Oriented Programming fundamentals.pptx
sanaiftikhar23
 
PPTX
Concepts of oop1
SheetalPareek
 
PPTX
Object Oriented Programming - Cheat sheet.pptx
MOSIUOA WESI
 
PPTX
Object Oriented Programming Language is an oop
sanaiftikhar23
 
PDF
1unit-120324103142-phpapp02.pdf
SahajShrimal1
 
PPTX
Basic concept of oops
Padma Kannan
 
PPTX
Introduction to OOP concepts
Ahmed Farag
 
PPTX
PPT_Object Oriented Programming .pptx
MDFARHAN3070
 
PPTX
PPT_Object Oriented Programming (2).pptx
faizus786
 
PPTX
Basic Concepts of Object Oriented Programming using C++
ShivamPathak318367
 
PDF
Programming Laboratory Unit 1.pdf
swapnilslide2019
 
PPTX
object oriented programing lecture 1
Geophery sanga
 
OOP Lesson 2.pptx
FranzLawrenzDeTorres1
 
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
ApurvaLaddha
 
Chapter 04 object oriented programming
Praveen M Jigajinni
 
Object Oriented Programming Concepts Using C++
Mtnc BCA DEPARTMENT
 
introduction of Object oriented programming
RiturajJain8
 
Characteristics of oop
Rasim Izhar Ali
 
Object Oriented Programming fundamentals.pptx
sanaiftikhar23
 
Concepts of oop1
SheetalPareek
 
Object Oriented Programming - Cheat sheet.pptx
MOSIUOA WESI
 
Object Oriented Programming Language is an oop
sanaiftikhar23
 
1unit-120324103142-phpapp02.pdf
SahajShrimal1
 
Basic concept of oops
Padma Kannan
 
Introduction to OOP concepts
Ahmed Farag
 
PPT_Object Oriented Programming .pptx
MDFARHAN3070
 
PPT_Object Oriented Programming (2).pptx
faizus786
 
Basic Concepts of Object Oriented Programming using C++
ShivamPathak318367
 
Programming Laboratory Unit 1.pdf
swapnilslide2019
 
object oriented programing lecture 1
Geophery sanga
 
Ad

Recently uploaded (20)

PPTX
Human Resources Information System (HRIS)
Amity University, Patna
 
PPTX
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PPTX
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PPTX
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
PPTX
Comprehensive Guide: Shoviv Exchange to Office 365 Migration Tool 2025
Shoviv Software
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
DOCX
Import Data Form Excel to Tally Services
Tally xperts
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PPTX
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
Human Resources Information System (HRIS)
Amity University, Patna
 
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
Comprehensive Guide: Shoviv Exchange to Office 365 Migration Tool 2025
Shoviv Software
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
Import Data Form Excel to Tally Services
Tally xperts
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 

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) { }