SlideShare a Scribd company logo
7
Most read
10
Most read
12
Most read
Basic Concepts of Object-
       Oriented Programming
•   Objects
•   Classes
•   Data Abstraction
•   Encapsulation
•   Data Hiding
•   Inheritance
•   Over Loading
•   Polymorphism
•   Binding
•   Message Passing
Objects
• Objects are the basic run-time entities in object-
  oriented system. An Object is an entity that has
  state, behaviour and identity. There are many
  objects around us.
• E.g. A computer mouse, is an object. It is
  considered an object with state and behaviour.
  Its states would be its colour, size and brand
  name and its behaviour would be left-click, right-
  click.
Classes
• A class is an entity that helps the programmer to
  define a new complex data type. Objects are the
  variables of type class. A class defines the data
  and behaviour of objects. In simple words, A
  class is a collection of objects of similar type.
• E.g. mango, apple and orange are members of
  the class fruit.
Data Abstraction
• Data Abstraction refers to the act of re-
  presenting essential features without including
  the back-ground details. It is concerned with
  separating the behaviour of a data object from
  its re-presentation.
• E.g. Executable file of a program.
Encapsulation
• The process of binding data members and
  functions in a class is known as, encapsulation.
  Encapsulation is the powerful feature (concept)
  of object-oriented programming. With the help of
  this concept, data is not accessible to the
  outside world and only those functions which are
  declared in the class, can access it.
Data Hiding
• Data Hiding is similar to encapsulation.
  Basically, encapsulating data members and
  functions in a class promotes data hiding. This
  concept will help us to provide the essential
  features to the users and hide the details. In
  short, encapsulating through private access
  modifier (label) is known as data hiding.
InherIitance
• Inheritance is a process by which objects of new
  class acquire the properties of objects of existing
  (base) class. It is in hierarchical order. The
  concept of inheritance provides the idea of
  reusability. This means that we can add
  additional features to an existing class without
  modifying it.
Over-Loading
• Object-Oriented Programming also provides a
  facility to extend the meaning of available
  functions and operators. Assigning an extra
  meaning to an existing operator or a function is
  known as Over-Loading.
Polymorphism
• Polymorphism is an important object-oriented
  programming concept. This is a greek term,
  means the ability to take more than one form.
  The process of making an operator to show
  different behaviours in different instances is
  known as operator-overloading. Using a single
  function name to perform different types of tasks
  is known as function-overloading.
Binding
• Binding refers to the linking of a procedure call to the
  code (its body) to be executed in response to the call. In
  Object-Oriented Programming, Binding is of two types :
• Static Binding : Linking of a function call to its body at the
  compile time is known as static binding. It is also known
  as early binding.

• Dynamic Binding : Linking of a function call to its body
  during run-time is known as static binding. It is also
  known as late binding.
Message Passing
In Object-Oriented Programming, objects communicate
   with one-another by sending and receiving information
   much the same way as people send messages to one-
   another. A message for an object is a request for
   execution of a procedure (function) and therefor will
   invoke (call) a function in the receiving object that
   generates the desired result. Message Passing involves
   specifying the name of the object, the name of the
   function and the information to be send.
Thank You

More Related Content

PDF
Introduction to oops concepts
Nilesh Dalvi
 
DOC
Shivaprasad Resume(Performance Testing)
Shiva Prasad
 
PPTX
Regulatory compliance and Benchmarking.pptx
Nataraj50
 
PPT
Oop Presentation
Ghaffar Khan
 
PPTX
Introduction to Array ppt
sandhya yadav
 
PPTX
Object Oriented Programming
Iqra khalil
 
DOC
A sample on industrial visit report for MBA students by Bilal Khan
Bilal Khan
 
PPTX
"BCD TO 7 SEGMENT DISPLAY DECODER"
FAIZAN SHAFI
 
Introduction to oops concepts
Nilesh Dalvi
 
Shivaprasad Resume(Performance Testing)
Shiva Prasad
 
Regulatory compliance and Benchmarking.pptx
Nataraj50
 
Oop Presentation
Ghaffar Khan
 
Introduction to Array ppt
sandhya yadav
 
Object Oriented Programming
Iqra khalil
 
A sample on industrial visit report for MBA students by Bilal Khan
Bilal Khan
 
"BCD TO 7 SEGMENT DISPLAY DECODER"
FAIZAN SHAFI
 

What's hot (20)

PPTX
object oriented Programming ppt
Nitesh Dubey
 
PPTX
Object oriented programming
Amit Soni (CTFL)
 
PPTX
Stream classes in C++
Shyam Gupta
 
PPTX
Characteristics of OOPS
abhishek kumar
 
PPTX
[OOP - Lec 18] Static Data Member
Muhammad Hammad Waseem
 
PPT
Object Oriented Programming Concepts
thinkphp
 
PPTX
Chapter 05 classes and objects
Praveen M Jigajinni
 
PPTX
Data types in c++
Venkata.Manish Reddy
 
PPT
Oops ppt
abhayjuneja
 
PPTX
classes and objects in C++
HalaiHansaika
 
PPTX
Compare between pop and oop
Md Ibrahim Khalil
 
PPTX
Pointers in c++
Vineeta Garg
 
PDF
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
PPTX
Recursive Function
Harsh Pathak
 
PPTX
Procedural programming
Ankit92Chitnavis
 
PPTX
Object oriented programming
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Object oriented programming concepts
rahuld115
 
PPTX
Inline function
Tech_MX
 
PPT
Oop java
Minal Maniar
 
PPTX
concept of oops
prince sharma
 
object oriented Programming ppt
Nitesh Dubey
 
Object oriented programming
Amit Soni (CTFL)
 
Stream classes in C++
Shyam Gupta
 
Characteristics of OOPS
abhishek kumar
 
[OOP - Lec 18] Static Data Member
Muhammad Hammad Waseem
 
Object Oriented Programming Concepts
thinkphp
 
Chapter 05 classes and objects
Praveen M Jigajinni
 
Data types in c++
Venkata.Manish Reddy
 
Oops ppt
abhayjuneja
 
classes and objects in C++
HalaiHansaika
 
Compare between pop and oop
Md Ibrahim Khalil
 
Pointers in c++
Vineeta Garg
 
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
Recursive Function
Harsh Pathak
 
Procedural programming
Ankit92Chitnavis
 
Object oriented programming concepts
rahuld115
 
Inline function
Tech_MX
 
Oop java
Minal Maniar
 
concept of oops
prince sharma
 
Ad

Viewers also liked (14)

PPT
Object oriented programming (oop) cs304 power point slides lecture 01
Adil Kakakhel
 
PPTX
Need of object oriented programming
Amar Jukuntla
 
PPT
Concepts In Object Oriented Programming Languages
ppd1961
 
PPT
Object-Oriented Programming Concepts
Kwangshin Oh
 
PPTX
Object Oriented Software Engineering
Ali Haider
 
PPTX
Object Oriented Programming Concepts
Abhigyan Singh Yadav
 
PPTX
Object oriented programming concept
Pina Parmar
 
PPT
Lecture 2
emailharmeet
 
PPTX
Object Oriented Programming Concepts
Bhushan Nagaraj
 
PPTX
Online recruitment system
Komal Singh
 
PPTX
Bus tracking application in Android
yashonil
 
PPT
20. Object-Oriented Programming Fundamental Principles
Intro C# Book
 
PDF
Object oriented software engineering concepts
Komal Singh
 
PPTX
Introduction to java
Veerabadra Badra
 
Object oriented programming (oop) cs304 power point slides lecture 01
Adil Kakakhel
 
Need of object oriented programming
Amar Jukuntla
 
Concepts In Object Oriented Programming Languages
ppd1961
 
Object-Oriented Programming Concepts
Kwangshin Oh
 
Object Oriented Software Engineering
Ali Haider
 
Object Oriented Programming Concepts
Abhigyan Singh Yadav
 
Object oriented programming concept
Pina Parmar
 
Lecture 2
emailharmeet
 
Object Oriented Programming Concepts
Bhushan Nagaraj
 
Online recruitment system
Komal Singh
 
Bus tracking application in Android
yashonil
 
20. Object-Oriented Programming Fundamental Principles
Intro C# Book
 
Object oriented software engineering concepts
Komal Singh
 
Introduction to java
Veerabadra Badra
 
Ad

Similar to Basic concepts of object oriented programming (20)

DOCX
Basic concept of object oriented programming
Mansur Mughnee
 
PPTX
Principles of OOPs.pptx
LakshyaChauhan21
 
PPTX
1.1-Introduction to Object oriented.pptx
naushigrdcs
 
PPTX
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
wrushabhsirsat
 
PPTX
Object oriented programming 6 oop with c++
Vaibhav Khanna
 
PPTX
1 unit (oops)
Jay Patel
 
PPTX
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
PDF
Java chapter 3
Mukesh Tekwani
 
PPTX
Object oriented programming concepts
rahuld115
 
PPTX
Object Oriented Programming WEOBRDSLKBNSDF
SaiAdithyaKumaravelu
 
PPTX
Introduction to OOP concepts
Ahmed Farag
 
PPTX
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
Maharshi Dayanand University Rohtak
 
PPTX
CPP-Unit 1.pptx
YashKoli22
 
PPTX
file_1670410681781.pptx
VanshGupta396933
 
PPT
Basic concepts of oops
Chandrakiran Satdeve
 
PPT
Oops slide
Ashok Sharma
 
PDF
1.3 Object Oriented Programming Paradigm, Basic Concepts of Object-Oriented P...
VikasNirgude2
 
PDF
Progecad 2025 Professional Cracked [Latest]
Luisa Weist
 
PPT
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
PDF
L1-Introduction to OOPs concepts.pdf
BhanuJatinSingh
 
Basic concept of object oriented programming
Mansur Mughnee
 
Principles of OOPs.pptx
LakshyaChauhan21
 
1.1-Introduction to Object oriented.pptx
naushigrdcs
 
gxhrehsrejhvytftfltyflytdtydtydky5dyrdtrdrdtrd
wrushabhsirsat
 
Object oriented programming 6 oop with c++
Vaibhav Khanna
 
1 unit (oops)
Jay Patel
 
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
Java chapter 3
Mukesh Tekwani
 
Object oriented programming concepts
rahuld115
 
Object Oriented Programming WEOBRDSLKBNSDF
SaiAdithyaKumaravelu
 
Introduction to OOP concepts
Ahmed Farag
 
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
Maharshi Dayanand University Rohtak
 
CPP-Unit 1.pptx
YashKoli22
 
file_1670410681781.pptx
VanshGupta396933
 
Basic concepts of oops
Chandrakiran Satdeve
 
Oops slide
Ashok Sharma
 
1.3 Object Oriented Programming Paradigm, Basic Concepts of Object-Oriented P...
VikasNirgude2
 
Progecad 2025 Professional Cracked [Latest]
Luisa Weist
 
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
L1-Introduction to OOPs concepts.pdf
BhanuJatinSingh
 

Recently uploaded (20)

PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PDF
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
PDF
5.EXPLORING-FORCES-Detailed-Notes.pdf/8TH CLASS SCIENCE CURIOSITY
Sandeep Swamy
 
PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PDF
Arihant Class 10 All in One Maths full pdf
sajal kumar
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PDF
7.Particulate-Nature-of-Matter.ppt/8th class science curiosity/by k sandeep s...
Sandeep Swamy
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PPTX
Understanding operators in c language.pptx
auteharshil95
 
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
PPTX
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
PDF
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
5.EXPLORING-FORCES-Detailed-Notes.pdf/8TH CLASS SCIENCE CURIOSITY
Sandeep Swamy
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
Arihant Class 10 All in One Maths full pdf
sajal kumar
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
7.Particulate-Nature-of-Matter.ppt/8th class science curiosity/by k sandeep s...
Sandeep Swamy
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
Understanding operators in c language.pptx
auteharshil95
 
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
The Picture of Dorian Gray summary and depiction
opaliyahemel
 

Basic concepts of object oriented programming

  • 1. Basic Concepts of Object- Oriented Programming • Objects • Classes • Data Abstraction • Encapsulation • Data Hiding • Inheritance • Over Loading • Polymorphism • Binding • Message Passing
  • 2. Objects • Objects are the basic run-time entities in object- oriented system. An Object is an entity that has state, behaviour and identity. There are many objects around us. • E.g. A computer mouse, is an object. It is considered an object with state and behaviour. Its states would be its colour, size and brand name and its behaviour would be left-click, right- click.
  • 3. Classes • A class is an entity that helps the programmer to define a new complex data type. Objects are the variables of type class. A class defines the data and behaviour of objects. In simple words, A class is a collection of objects of similar type. • E.g. mango, apple and orange are members of the class fruit.
  • 4. Data Abstraction • Data Abstraction refers to the act of re- presenting essential features without including the back-ground details. It is concerned with separating the behaviour of a data object from its re-presentation. • E.g. Executable file of a program.
  • 5. Encapsulation • The process of binding data members and functions in a class is known as, encapsulation. Encapsulation is the powerful feature (concept) of object-oriented programming. With the help of this concept, data is not accessible to the outside world and only those functions which are declared in the class, can access it.
  • 6. Data Hiding • Data Hiding is similar to encapsulation. Basically, encapsulating data members and functions in a class promotes data hiding. This concept will help us to provide the essential features to the users and hide the details. In short, encapsulating through private access modifier (label) is known as data hiding.
  • 7. InherIitance • Inheritance is a process by which objects of new class acquire the properties of objects of existing (base) class. It is in hierarchical order. The concept of inheritance provides the idea of reusability. This means that we can add additional features to an existing class without modifying it.
  • 8. Over-Loading • Object-Oriented Programming also provides a facility to extend the meaning of available functions and operators. Assigning an extra meaning to an existing operator or a function is known as Over-Loading.
  • 9. Polymorphism • Polymorphism is an important object-oriented programming concept. This is a greek term, means the ability to take more than one form. The process of making an operator to show different behaviours in different instances is known as operator-overloading. Using a single function name to perform different types of tasks is known as function-overloading.
  • 10. Binding • Binding refers to the linking of a procedure call to the code (its body) to be executed in response to the call. In Object-Oriented Programming, Binding is of two types : • Static Binding : Linking of a function call to its body at the compile time is known as static binding. It is also known as early binding. • Dynamic Binding : Linking of a function call to its body during run-time is known as static binding. It is also known as late binding.
  • 11. Message Passing In Object-Oriented Programming, objects communicate with one-another by sending and receiving information much the same way as people send messages to one- another. A message for an object is a request for execution of a procedure (function) and therefor will invoke (call) a function in the receiving object that generates the desired result. Message Passing involves specifying the name of the object, the name of the function and the information to be send.