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.
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

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
Madishetty Prathibha
 
Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4
MOHIT TOMAR
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Conceptsthinkphp
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Amit Soni (CTFL)
 
Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++
Muhammad Waqas
 
Object Oriented Programming Concepts for beginners
Object Oriented Programming Concepts for beginners Object Oriented Programming Concepts for beginners
Object Oriented Programming Concepts for beginners
Vibhawa Nirmal
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Languagedheva B
 
Object-Oriented Programming Concepts
Object-Oriented Programming ConceptsObject-Oriented Programming Concepts
Object-Oriented Programming Concepts
Kwangshin Oh
 
Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
Basic oop concepts - C++
Basic oop concepts - C++Basic oop concepts - C++
Basic oop concepts - C++
Aleena Varghese
 
SEMINAR
SEMINARSEMINAR
Advance oops concepts
Advance oops conceptsAdvance oops concepts
Advance oops concepts
Sangharsh agarwal
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
Iqra khalil
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
Pina Parmar
 
Class and object
Class and objectClass and object
Class and object
Prof. Dr. K. Adisesha
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
Ankur Pandey
 
object oriented Programming ppt
object oriented Programming pptobject oriented Programming ppt
object oriented Programming ppt
Nitesh Dubey
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
Md. Tanvir Hossain
 
the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented ProgrammingAida Ramlan II
 

What's hot (20)

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
 
Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++
 
Object Oriented Programming Concepts for beginners
Object Oriented Programming Concepts for beginners Object Oriented Programming Concepts for beginners
Object Oriented Programming Concepts for beginners
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
 
Object-Oriented Programming Concepts
Object-Oriented Programming ConceptsObject-Oriented Programming Concepts
Object-Oriented Programming Concepts
 
Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)
 
Basic oop concepts - C++
Basic oop concepts - C++Basic oop concepts - C++
Basic oop concepts - C++
 
SEMINAR
SEMINARSEMINAR
SEMINAR
 
Characteristics of oop
Characteristics of oopCharacteristics of oop
Characteristics of oop
 
Advance oops concepts
Advance oops conceptsAdvance oops concepts
Advance oops concepts
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
 
Class and object
Class and objectClass and object
Class and object
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
 
object oriented Programming ppt
object oriented Programming pptobject oriented Programming ppt
object oriented Programming ppt
 
Introduction to Object Oriented Programming
Introduction to Object Oriented ProgrammingIntroduction to Object Oriented Programming
Introduction to Object Oriented Programming
 
the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
 

Viewers also liked

3 jornada
3 jornada3 jornada
3 jornada
MandyYarenny
 
6 personal-perspectives-screen
6 personal-perspectives-screen6 personal-perspectives-screen
6 personal-perspectives-screen
Brian Jackson
 
в малом индустриальном городе россия
в малом индустриальном городе россияв малом индустриальном городе россия
в малом индустриальном городе россияshulenina_nv
 
Guion de Observacion 4
Guion de Observacion 4Guion de Observacion 4
Guion de Observacion 4
MandyYarenny
 
европейский опыт решения экологических проблем на межгосударственном уровне
европейский опыт решения экологических проблем на межгосударственном уровнеевропейский опыт решения экологических проблем на межгосударственном уровне
европейский опыт решения экологических проблем на межгосударственном уровнеshulenina_nv
 
Resume dewi prilanti 2015 updated 210915
Resume dewi prilanti 2015 updated 210915Resume dewi prilanti 2015 updated 210915
Resume dewi prilanti 2015 updated 210915
Dewi Prilanti
 

Viewers also liked (8)

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

Similar to Object oriented programming concepts

Object oriented programming 6 oop with c++
Object oriented programming 6  oop with c++Object oriented programming 6  oop with c++
Object oriented programming 6 oop with c++
Vaibhav Khanna
 
Principles of OOPs.pptx
Principles of OOPs.pptxPrinciples of OOPs.pptx
Principles of OOPs.pptx
LakshyaChauhan21
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Saiful Islam Sany
 
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrdgxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
wrushabhsirsat
 
Object oriented programming
Object oriented programmingObject oriented programming
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
 
80410172053.pdf
80410172053.pdf80410172053.pdf
80410172053.pdf
WrushabhShirsat3
 
OOP Presentation.pptx
OOP Presentation.pptxOOP Presentation.pptx
OOP Presentation.pptx
DurgaPrasadVasantati
 
OOP Presentation.pptx
OOP Presentation.pptxOOP Presentation.pptx
OOP Presentation.pptx
DurgaPrasadVasantati
 
Lecture-10_PHP-OOP.pptx
Lecture-10_PHP-OOP.pptxLecture-10_PHP-OOP.pptx
Lecture-10_PHP-OOP.pptx
ShaownRoy1
 
Object Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) IntroductionObject Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) Introduction
SamuelAnsong6
 
file_1670410681781.pptx
file_1670410681781.pptxfile_1670410681781.pptx
file_1670410681781.pptx
VanshGupta396933
 
C++ programming introduction
C++ programming introductionC++ programming introduction
C++ programming introduction
sandeep54552
 
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentals
AnsgarMary
 
Introduction to OOP with java
Introduction to OOP with javaIntroduction to OOP with java
Introduction to OOP with java
Sujit Kumar
 
Object oriented programming C++
Object oriented programming C++Object oriented programming C++
Object oriented programming C++
AkshtaSuryawanshi
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
Amar Jukuntla
 

Similar to Object oriented programming concepts (20)

Object oriented programming 6 oop with c++
Object oriented programming 6  oop with c++Object oriented programming 6  oop with c++
Object oriented programming 6 oop with c++
 
Principles of OOPs.pptx
Principles of OOPs.pptxPrinciples of OOPs.pptx
Principles of OOPs.pptx
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrdgxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Principles and advantages of oop ppt
Principles and advantages of oop pptPrinciples and advantages of oop ppt
Principles and advantages of oop ppt
 
80410172053.pdf
80410172053.pdf80410172053.pdf
80410172053.pdf
 
OOP Presentation.pptx
OOP Presentation.pptxOOP Presentation.pptx
OOP Presentation.pptx
 
OOP Presentation.pptx
OOP Presentation.pptxOOP Presentation.pptx
OOP Presentation.pptx
 
Lecture-10_PHP-OOP.pptx
Lecture-10_PHP-OOP.pptxLecture-10_PHP-OOP.pptx
Lecture-10_PHP-OOP.pptx
 
Object Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) IntroductionObject Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) Introduction
 
file_1670410681781.pptx
file_1670410681781.pptxfile_1670410681781.pptx
file_1670410681781.pptx
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
 
C++ programming introduction
C++ programming introductionC++ programming introduction
C++ programming introduction
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentals
 
Introduction to OOP with java
Introduction to OOP with javaIntroduction to OOP with java
Introduction to OOP with java
 
OOPS Characteristics
OOPS CharacteristicsOOPS Characteristics
OOPS Characteristics
 
Object oriented programming C++
Object oriented programming C++Object oriented programming C++
Object oriented programming C++
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
 

Recently uploaded

ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 

Recently uploaded (20)

ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 

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.
  • 13.
  • 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) { }