SlideShare a Scribd company logo
10
Most read
11
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

PPT
Oops ppt
PPTX
Need of object oriented programming
PPTX
Introduction to oop
PPTX
Concept of OOPS with real life examples
PPTX
OOP Unit 1 - Foundation of Object- Oriented Programming
PPTX
Object Oriented programming - Introduction
PPTX
concept of oops
PPT
Oop Presentation
Oops ppt
Need of object oriented programming
Introduction to oop
Concept of OOPS with real life examples
OOP Unit 1 - Foundation of Object- Oriented Programming
Object Oriented programming - Introduction
concept of oops
Oop Presentation

What's hot (20)

PPTX
Object Oriented Programming
PPT
Operator Overloading
PPTX
Polymorphism In c++
PDF
C++ OOPS Concept
PPTX
Inheritance in java
PPT
Basic concepts of oops
PPTX
PPTX
Templates in C++
PPTX
Basic Concepts of OOPs (Object Oriented Programming in Java)
PPTX
Characteristics of OOPS
PPT
Basic concept of OOP's
PDF
Introduction to oops concepts
PPTX
Static Data Members and Member Functions
PPT
Function overloading(c++)
PPTX
Java abstract class & abstract methods
PDF
Oops concepts || Object Oriented Programming Concepts in Java
PPT
Object-oriented concepts
PDF
C++ Files and Streams
PPTX
Inheritance in c++
PPTX
Inheritance in java
Object Oriented Programming
Operator Overloading
Polymorphism In c++
C++ OOPS Concept
Inheritance in java
Basic concepts of oops
Templates in C++
Basic Concepts of OOPs (Object Oriented Programming in Java)
Characteristics of OOPS
Basic concept of OOP's
Introduction to oops concepts
Static Data Members and Member Functions
Function overloading(c++)
Java abstract class & abstract methods
Oops concepts || Object Oriented Programming Concepts in Java
Object-oriented concepts
C++ Files and Streams
Inheritance in c++
Inheritance in java
Ad

Viewers also liked (14)

PPT
Object Oriented Programming Concepts
PPT
Object oriented programming (oop) cs304 power point slides lecture 01
PPT
Concepts In Object Oriented Programming Languages
PPT
Object-Oriented Programming Concepts
PPTX
Object Oriented Software Engineering
PPTX
Object Oriented Programming Concepts
PPTX
Object oriented programming concept
PPT
Lecture 2
PPTX
Object Oriented Programming Concepts
PPTX
Online recruitment system
PPTX
Bus tracking application in Android
PPT
20. Object-Oriented Programming Fundamental Principles
PDF
Object oriented software engineering concepts
PPTX
Introduction to java
Object Oriented Programming Concepts
Object oriented programming (oop) cs304 power point slides lecture 01
Concepts In Object Oriented Programming Languages
Object-Oriented Programming Concepts
Object Oriented Software Engineering
Object Oriented Programming Concepts
Object oriented programming concept
Lecture 2
Object Oriented Programming Concepts
Online recruitment system
Bus tracking application in Android
20. Object-Oriented Programming Fundamental Principles
Object oriented software engineering concepts
Introduction to java
Ad

Similar to Basic concepts of object oriented programming (20)

DOCX
Basic concept of object oriented programming
PPTX
1 unit (oops)
PPT
General OOP concept [by-Digvijay]
DOC
Chapter1
PPTX
PPTX
IET307 OOP - object oriented programming concepts.pptx
DOC
My c++
PPTX
Object Oriented Programming - Cheat sheet.pptx
PPTX
Object Oriented Programming Concepts Using C++
PDF
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
PPTX
Object oriented programming 6 oop with c++
PDF
Java chapter 3
PPTX
Lesson 1 - Introduction to Object Oriented Concepts.pptx
PPT
Object Oriented Language
PPTX
1.1-Introduction to Object oriented.pptx
PPT
Share Unit 1- Basic concept of object-oriented-programming.ppt
PPTX
Unit 1 OOSE
PPTX
Basic concept of oops
DOC
Introduction to OOPs Concept- Features, Basic concepts, Benefits and Applicat...
DOC
Question bank unit i
Basic concept of object oriented programming
1 unit (oops)
General OOP concept [by-Digvijay]
Chapter1
IET307 OOP - object oriented programming concepts.pptx
My c++
Object Oriented Programming - Cheat sheet.pptx
Object Oriented Programming Concepts Using C++
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
Object oriented programming 6 oop with c++
Java chapter 3
Lesson 1 - Introduction to Object Oriented Concepts.pptx
Object Oriented Language
1.1-Introduction to Object oriented.pptx
Share Unit 1- Basic concept of object-oriented-programming.ppt
Unit 1 OOSE
Basic concept of oops
Introduction to OOPs Concept- Features, Basic concepts, Benefits and Applicat...
Question bank unit i

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Business Ethics Teaching Materials for college
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Pre independence Education in Inndia.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Introduction and Scope of Bichemistry.pptx
PDF
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Business Ethics Teaching Materials for college
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Pre independence Education in Inndia.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Cardiovascular Pharmacology for pharmacy students.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
human mycosis Human fungal infections are called human mycosis..pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
NOI Hackathon - Summer Edition - GreenThumber.pptx
Microbial disease of the cardiovascular and lymphatic systems
102 student loan defaulters named and shamed – Is someone you know on the list?
Insiders guide to clinical Medicine.pdf
Introduction and Scope of Bichemistry.pptx
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
STATICS OF THE RIGID BODIES Hibbelers.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
O7-L3 Supply Chain Operations - ICLT Program
Renaissance Architecture: A Journey from Faith to Humanism
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...

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.