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

PPTX
Fundamentals of OOP (Object Oriented Programming)
PDF
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
PDF
Polymorphism in oop
PPTX
Core java complete ppt(note)
PPTX
concept of oops
PPT
Oops in Java
PPTX
Inheritance in java
PPTX
Java constructors
Fundamentals of OOP (Object Oriented Programming)
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Polymorphism in oop
Core java complete ppt(note)
concept of oops
Oops in Java
Inheritance in java
Java constructors

What's hot (20)

PPTX
Methods in java
PPT
Method overriding
PDF
C++ OOPS Concept
PPTX
OOPS Basics With Example
PPT
Input and output in C++
PPTX
Basic Concepts of OOPs (Object Oriented Programming in Java)
PPTX
Need of object oriented programming
PPTX
Method overloading
PPTX
Introduction to oop
PPTX
constructors in java ppt
PPTX
Constructor in java
PPTX
Advanced Python : Decorators
PPTX
classes and objects in C++
PPT
Basic concept of OOP's
PPTX
Encapsulation C++
PPTX
Introduction to Java -unit-1
PPTX
Function overloading and overriding
PPT
Object Oriented Language
PPSX
Javascript variables and datatypes
Methods in java
Method overriding
C++ OOPS Concept
OOPS Basics With Example
Input and output in C++
Basic Concepts of OOPs (Object Oriented Programming in Java)
Need of object oriented programming
Method overloading
Introduction to oop
constructors in java ppt
Constructor in java
Advanced Python : Decorators
classes and objects in C++
Basic concept of OOP's
Encapsulation C++
Introduction to Java -unit-1
Function overloading and overriding
Object Oriented Language
Javascript variables and datatypes
Ad

Viewers also liked (20)

PPT
Object Oriented Programming Concepts
PPT
Oops ppt
PPTX
Object Oriented Programming
PPT
INPUT BOX- VBA
PDF
3-oop java-inheritance
PDF
Object Oriented Paradigm
PPTX
Debugging
PPT
Dotnet framework
PPT
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
PPT
Inheritance, Object Oriented Programming
PPTX
Objects and classes in Visual Basic
PPT
Object-Oriented Programming Using C++
PPTX
Inheritance in oops
PPTX
Error handling and debugging in vb
PDF
Object-oriented Programming-with C#
PPT
PPTX
Strings in Java
PPTX
Constructors & destructors
PPTX
Exception handling
Object Oriented Programming Concepts
Oops ppt
Object Oriented Programming
INPUT BOX- VBA
3-oop java-inheritance
Object Oriented Paradigm
Debugging
Dotnet framework
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
Inheritance, Object Oriented Programming
Objects and classes in Visual Basic
Object-Oriented Programming Using C++
Inheritance in oops
Error handling and debugging in vb
Object-oriented Programming-with C#
Strings in Java
Constructors & destructors
Exception handling
Ad

Similar to Object oriented programming concepts (20)

PPT
Basic concepts of object oriented programming
PPTX
Object oriented programming 6 oop with c++
PPTX
Principles of OOPs.pptx
PPTX
Object oriented programming
PPTX
Class and Objects in python programming.pptx
PPT
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
PPTX
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
PPTX
1.1-Introduction to Object oriented.pptx
PPTX
OOP CHAPTER object oreinted programming using c++
PPTX
PPTX
Principles and advantages of oop ppt
PDF
Unit_2.00000000000000000000000000000.pdf
PDF
80410172053.pdf
PPTX
Introduction to OOP concepts
PPTX
OOP Presentation.pptx
PPTX
OOP Presentation.pptx
PPTX
Lecture-10_PHP-OOP.pptx
PPTX
Introduction to OOPs second year cse.pptx
PPTX
Object Oriented Programming (OOP) Introduction
PPTX
file_1670410681781.pptx
Basic concepts of object oriented programming
Object oriented programming 6 oop with c++
Principles of OOPs.pptx
Object oriented programming
Class and Objects in python programming.pptx
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
1.1-Introduction to Object oriented.pptx
OOP CHAPTER object oreinted programming using c++
Principles and advantages of oop ppt
Unit_2.00000000000000000000000000000.pdf
80410172053.pdf
Introduction to OOP concepts
OOP Presentation.pptx
OOP Presentation.pptx
Lecture-10_PHP-OOP.pptx
Introduction to OOPs second year cse.pptx
Object Oriented Programming (OOP) Introduction
file_1670410681781.pptx

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
Introduction to Artificial Intelligence
PDF
Understanding Forklifts - TECH EHS Solution
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
top salesforce developer skills in 2025.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
System and Network Administration Chapter 2
PPTX
Transform Your Business with a Software ERP System
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
AI in Product Development-omnex systems
PPTX
L1 - Introduction to python Backend.pptx
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Nekopoi APK 2025 free lastest update
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Introduction to Artificial Intelligence
Understanding Forklifts - TECH EHS Solution
2025 Textile ERP Trends: SAP, Odoo & Oracle
top salesforce developer skills in 2025.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
System and Network Administration Chapter 2
Transform Your Business with a Software ERP System
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
AI in Product Development-omnex systems
L1 - Introduction to python Backend.pptx
How to Migrate SBCGlobal Email to Yahoo Easily
Nekopoi APK 2025 free lastest update
Navsoft: AI-Powered Business Solutions & Custom Software Development
How to Choose the Right IT Partner for Your Business in Malaysia
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Design an Analysis of Algorithms I-SECS-1021-03
Upgrade and Innovation Strategies for SAP ERP Customers

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