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
Ad

More Related Content

What's hot (20)

Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
thinkphp
 
Object-oriented concepts
Object-oriented conceptsObject-oriented concepts
Object-oriented concepts
BG Java EE Course
 
OOPS in Java
OOPS in JavaOOPS in Java
OOPS in Java
Zeeshan Khan
 
Object and class relationships
Object and class relationshipsObject and class relationships
Object and class relationships
Pooja mittal
 
Classes objects in java
Classes objects in javaClasses objects in java
Classes objects in java
Madishetty Prathibha
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming language
Md.Al-imran Roton
 
CS3391 -OOP -UNIT – V NOTES FINAL.pdf
CS3391 -OOP -UNIT – V NOTES FINAL.pdfCS3391 -OOP -UNIT – V NOTES FINAL.pdf
CS3391 -OOP -UNIT – V NOTES FINAL.pdf
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
Method overloading
Method overloadingMethod overloading
Method overloading
Lovely Professional University
 
Arrays in Java
Arrays in JavaArrays in Java
Arrays in Java
Naz Abdalla
 
Data abstraction and object orientation
Data abstraction and object orientationData abstraction and object orientation
Data abstraction and object orientation
Hoang Nguyen
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types ppt
kamal kotecha
 
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...
Edureka!
 
Collections In Java
Collections In JavaCollections In Java
Collections In Java
Binoj T E
 
Java OOP Concept
Java OOP ConceptJava OOP Concept
Java OOP Concept
NikitaGour5
 
Data Types, Variables, and Operators
Data Types, Variables, and OperatorsData Types, Variables, and Operators
Data Types, Variables, and Operators
Marwa Ali Eissa
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
Pina Parmar
 
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
 
OOPS Basics With Example
OOPS Basics With ExampleOOPS Basics With Example
OOPS Basics With Example
Thooyavan Venkatachalam
 
Java Notes
Java NotesJava Notes
Java Notes
Abhishek Khune
 
Java Collections
Java  Collections Java  Collections
Java Collections
Kongu Engineering College, Perundurai, Erode
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
thinkphp
 
Object and class relationships
Object and class relationshipsObject and class relationships
Object and class relationships
Pooja mittal
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming language
Md.Al-imran Roton
 
Data abstraction and object orientation
Data abstraction and object orientationData abstraction and object orientation
Data abstraction and object orientation
Hoang Nguyen
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types ppt
kamal kotecha
 
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...
Edureka!
 
Collections In Java
Collections In JavaCollections In Java
Collections In Java
Binoj T E
 
Java OOP Concept
Java OOP ConceptJava OOP Concept
Java OOP Concept
NikitaGour5
 
Data Types, Variables, and Operators
Data Types, Variables, and OperatorsData Types, Variables, and Operators
Data Types, Variables, and Operators
Marwa Ali Eissa
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
Pina Parmar
 
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
 

Viewers also liked (8)

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

Similar to Object oriented programming concepts (20)

Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programming
Sachin Sharma
 
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
 
Class and Objects in python programming.pptx
Class and Objects in python programming.pptxClass and Objects in python programming.pptx
Class and Objects in python programming.pptx
Rajtherock
 
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.pptJava Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrdgxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
wrushabhsirsat
 
1.1-Introduction to Object oriented.pptx
1.1-Introduction to Object oriented.pptx1.1-Introduction to Object oriented.pptx
1.1-Introduction to Object oriented.pptx
naushigrdcs
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
baabtra.com - No. 1 supplier of quality freshers
 
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
 
Unit_2.00000000000000000000000000000.pdf
Unit_2.00000000000000000000000000000.pdfUnit_2.00000000000000000000000000000.pdf
Unit_2.00000000000000000000000000000.pdf
pateltech13
 
80410172053.pdf
80410172053.pdf80410172053.pdf
80410172053.pdf
WrushabhShirsat3
 
Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)
MD Sulaiman
 
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
 
Introduction to OOPs second year cse.pptx
Introduction to OOPs second year cse.pptxIntroduction to OOPs second year cse.pptx
Introduction to OOPs second year cse.pptx
solemanhldr
 
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
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
AshutoshTrivedi30
 
Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programming
Sachin Sharma
 
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
 
Class and Objects in python programming.pptx
Class and Objects in python programming.pptxClass and Objects in python programming.pptx
Class and Objects in python programming.pptx
Rajtherock
 
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.pptJava Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrdgxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
wrushabhsirsat
 
1.1-Introduction to Object oriented.pptx
1.1-Introduction to Object oriented.pptx1.1-Introduction to Object oriented.pptx
1.1-Introduction to Object oriented.pptx
naushigrdcs
 
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
 
Unit_2.00000000000000000000000000000.pdf
Unit_2.00000000000000000000000000000.pdfUnit_2.00000000000000000000000000000.pdf
Unit_2.00000000000000000000000000000.pdf
pateltech13
 
Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)
MD Sulaiman
 
Lecture-10_PHP-OOP.pptx
Lecture-10_PHP-OOP.pptxLecture-10_PHP-OOP.pptx
Lecture-10_PHP-OOP.pptx
ShaownRoy1
 
Introduction to OOPs second year cse.pptx
Introduction to OOPs second year cse.pptxIntroduction to OOPs second year cse.pptx
Introduction to OOPs second year cse.pptx
solemanhldr
 
Object Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) IntroductionObject Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) Introduction
SamuelAnsong6
 
Ad

Recently uploaded (20)

Uses of drones in civil construction.pdf
Uses of drones in civil construction.pdfUses of drones in civil construction.pdf
Uses of drones in civil construction.pdf
surajsen1729
 
Artificial intelligence and machine learning.pptx
Artificial intelligence and machine learning.pptxArtificial intelligence and machine learning.pptx
Artificial intelligence and machine learning.pptx
rakshanatarajan005
 
acid base ppt and their specific application in food
acid base ppt and their specific application in foodacid base ppt and their specific application in food
acid base ppt and their specific application in food
Fatehatun Noor
 
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
Guru Nanak Technical Institutions
 
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
PawachMetharattanara
 
Evonik Overview Visiomer Specialty Methacrylates.pdf
Evonik Overview Visiomer Specialty Methacrylates.pdfEvonik Overview Visiomer Specialty Methacrylates.pdf
Evonik Overview Visiomer Specialty Methacrylates.pdf
szhang13
 
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjjseninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
AjijahamadKhaji
 
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdfSmart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
PawachMetharattanara
 
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdfML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
rameshwarchintamani
 
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Journal of Soft Computing in Civil Engineering
 
Jacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia - Excels In Optimizing Software ApplicationsJacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia
 
Little Known Ways To 3 Best sites to Buy Linkedin Accounts.pdf
Little Known Ways To 3 Best sites to Buy Linkedin Accounts.pdfLittle Known Ways To 3 Best sites to Buy Linkedin Accounts.pdf
Little Known Ways To 3 Best sites to Buy Linkedin Accounts.pdf
gori42199
 
ATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ATAL 6 Days Online FDP Scheme Document 2025-26.pdfATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ssuserda39791
 
Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025
Antonin Danalet
 
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
Reflections on Morality, Philosophy, and History
 
twin tower attack 2001 new york city
twin  tower  attack  2001 new  york citytwin  tower  attack  2001 new  york city
twin tower attack 2001 new york city
harishreemavs
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
Machine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATIONMachine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATION
DarrinBright1
 
Machine foundation notes for civil engineering students
Machine foundation notes for civil engineering studentsMachine foundation notes for civil engineering students
Machine foundation notes for civil engineering students
DYPCET
 
2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt
rakshaiya16
 
Uses of drones in civil construction.pdf
Uses of drones in civil construction.pdfUses of drones in civil construction.pdf
Uses of drones in civil construction.pdf
surajsen1729
 
Artificial intelligence and machine learning.pptx
Artificial intelligence and machine learning.pptxArtificial intelligence and machine learning.pptx
Artificial intelligence and machine learning.pptx
rakshanatarajan005
 
acid base ppt and their specific application in food
acid base ppt and their specific application in foodacid base ppt and their specific application in food
acid base ppt and their specific application in food
Fatehatun Noor
 
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
PawachMetharattanara
 
Evonik Overview Visiomer Specialty Methacrylates.pdf
Evonik Overview Visiomer Specialty Methacrylates.pdfEvonik Overview Visiomer Specialty Methacrylates.pdf
Evonik Overview Visiomer Specialty Methacrylates.pdf
szhang13
 
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjjseninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
AjijahamadKhaji
 
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdfSmart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
PawachMetharattanara
 
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdfML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
rameshwarchintamani
 
Jacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia - Excels In Optimizing Software ApplicationsJacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia
 
Little Known Ways To 3 Best sites to Buy Linkedin Accounts.pdf
Little Known Ways To 3 Best sites to Buy Linkedin Accounts.pdfLittle Known Ways To 3 Best sites to Buy Linkedin Accounts.pdf
Little Known Ways To 3 Best sites to Buy Linkedin Accounts.pdf
gori42199
 
ATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ATAL 6 Days Online FDP Scheme Document 2025-26.pdfATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ATAL 6 Days Online FDP Scheme Document 2025-26.pdf
ssuserda39791
 
Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025
Antonin Danalet
 
twin tower attack 2001 new york city
twin  tower  attack  2001 new  york citytwin  tower  attack  2001 new  york city
twin tower attack 2001 new york city
harishreemavs
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
Machine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATIONMachine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATION
DarrinBright1
 
Machine foundation notes for civil engineering students
Machine foundation notes for civil engineering studentsMachine foundation notes for civil engineering students
Machine foundation notes for civil engineering students
DYPCET
 
2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt
rakshaiya16
 

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) { }
  翻译: