SlideShare a Scribd company logo
Basic Concepts of object-oriented programming.
Object
Data Abstraction
Classes
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
object is an entity that has state, behavior and identity. there are many objects
around us.
E.g. computer mouse is an object. it is considered an object with states would be its
color,sizeand brand name and its behavior would be left-Click, right-click.
Classes
A class is an entity that helps that programmer to define a new complex data
type.
Objects are the variables of type class. A class defines the data and behavior of
objects. In simple’s words, a class is a collection of objects of similar type.
E.g. Mango apple and orange are members of the class.
Data Abstraction
Data Abstraction refers to the act of representing essential features without
including the back-ground details. It is concerned with separating the behavior
of a data object from its representation.
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 , encapsulation data members
and functions in a class promotes data hiding. this concept with 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.
Inheritance
inheritance is process by which objects of new class acquire the properties
of objects of existing (base) class. It is in inheritance order. The concept of
inheritance provides the idea of reusability. The 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 geek
term, means the ability to take more than one form.
The process of making an operator to show different behaviors in difference
instances is known as over loading. Using a single function name to perform
difference 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, object communicates 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 therefore 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 object, the
name of the function and the information to be sent.

More Related Content

What's hot (20)

PPTX
OOPS with C++ | Concepts of OOPS | Introduction
ADITYATANDONKECCSE
 
PPTX
Oops in vb
Dalwin INDIA
 
PPT
Oops Concepts
guest1aac43
 
PPTX
Advance oops concepts
Sangharsh agarwal
 
PPTX
Principles of object oriented programming
Amogh Kalyanshetti
 
DOCX
Ooad notes
NancyJP
 
PPTX
Lecture01 object oriented-programming
Hariz Mustafa
 
PPTX
Very short OOP Introduction
Cristian G
 
PPTX
Object database standards, languages and design
Dabbal Singh Mahara
 
PPTX
Encapsulation
Githushan Gengaparam
 
PDF
Chapter2 Encapsulation (Java)
Dyah Fajar Nur Rohmah
 
PPT
Encapsulation
FALLEE31188
 
PPT
Object Oriented Programming In .Net
Greg Sohl
 
PPTX
Object oriented programming concepts
rahuld115
 
PPTX
Oops abap fundamental
biswajit2015
 
PPT
Design pattern composite 20120413 joncash 01
LearningTech
 
PPTX
Vb ch 3-object-oriented_fundamentals_in_vb.net
bantamlak dejene
 
PPTX
Std 12 computer chapter 6 object oriented concepts (part 1)
Nuzhat Memon
 
PPTX
Object Oriented Principles
Emprovise
 
OOPS with C++ | Concepts of OOPS | Introduction
ADITYATANDONKECCSE
 
Oops in vb
Dalwin INDIA
 
Oops Concepts
guest1aac43
 
Advance oops concepts
Sangharsh agarwal
 
Principles of object oriented programming
Amogh Kalyanshetti
 
Ooad notes
NancyJP
 
Lecture01 object oriented-programming
Hariz Mustafa
 
Very short OOP Introduction
Cristian G
 
Object database standards, languages and design
Dabbal Singh Mahara
 
Encapsulation
Githushan Gengaparam
 
Chapter2 Encapsulation (Java)
Dyah Fajar Nur Rohmah
 
Encapsulation
FALLEE31188
 
Object Oriented Programming In .Net
Greg Sohl
 
Object oriented programming concepts
rahuld115
 
Oops abap fundamental
biswajit2015
 
Design pattern composite 20120413 joncash 01
LearningTech
 
Vb ch 3-object-oriented_fundamentals_in_vb.net
bantamlak dejene
 
Std 12 computer chapter 6 object oriented concepts (part 1)
Nuzhat Memon
 
Object Oriented Principles
Emprovise
 

Similar to Basic concept of object oriented programming (20)

PPT
Basic concepts of object oriented programming
Sachin Sharma
 
PPTX
1 unit (oops)
Jay Patel
 
PPTX
Object Oriented Programming - Cheat sheet.pptx
MOSIUOA WESI
 
PPT
Basic concepts of oops
Chandrakiran Satdeve
 
PDF
1unit-120324103142-phpapp02.pdf
SahajShrimal1
 
PPTX
Object Oriented Programming Concepts Using C++
Mtnc BCA DEPARTMENT
 
PPTX
Need of object oriented programming
Amar Jukuntla
 
PPT
Object Oriented Language
dheva B
 
PDF
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
ApurvaLaddha
 
PPTX
Basic Concepts of Object Oriented Programming using C++
ShivamPathak318367
 
PPTX
Chapter 04 object oriented programming
Praveen M Jigajinni
 
PDF
Java chapter 3
Mukesh Tekwani
 
PPTX
Object oriented programming concepts
rahuld115
 
PPTX
Oop
kaur12345
 
PPT
Lecture 2
emailharmeet
 
PPTX
Basics of object oriented programming c++ [autosaved]
RAVIPUROHIT22
 
PPTX
1.1-Introduction to Object oriented.pptx
naushigrdcs
 
PPTX
Object oriented programming
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
PPTX
Introduction to Java -unit-1
RubaNagarajan
 
Basic concepts of object oriented programming
Sachin Sharma
 
1 unit (oops)
Jay Patel
 
Object Oriented Programming - Cheat sheet.pptx
MOSIUOA WESI
 
Basic concepts of oops
Chandrakiran Satdeve
 
1unit-120324103142-phpapp02.pdf
SahajShrimal1
 
Object Oriented Programming Concepts Using C++
Mtnc BCA DEPARTMENT
 
Need of object oriented programming
Amar Jukuntla
 
Object Oriented Language
dheva B
 
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
ApurvaLaddha
 
Basic Concepts of Object Oriented Programming using C++
ShivamPathak318367
 
Chapter 04 object oriented programming
Praveen M Jigajinni
 
Java chapter 3
Mukesh Tekwani
 
Object oriented programming concepts
rahuld115
 
Lecture 2
emailharmeet
 
Basics of object oriented programming c++ [autosaved]
RAVIPUROHIT22
 
1.1-Introduction to Object oriented.pptx
naushigrdcs
 
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
Introduction to Java -unit-1
RubaNagarajan
 
Ad

More from Mansur Mughnee (9)

PPTX
Html
Mansur Mughnee
 
DOCX
Brain is the weapon to all human beings used to various activities
Mansur Mughnee
 
DOCX
Fill in the blank
Mansur Mughnee
 
DOCX
Fill in the blank
Mansur Mughnee
 
DOCX
How to write an expression for an integer
Mansur Mughnee
 
DOCX
Data types in c
Mansur Mughnee
 
DOCX
String
Mansur Mughnee
 
DOCX
Variable
Mansur Mughnee
 
DOCX
Variable
Mansur Mughnee
 
Brain is the weapon to all human beings used to various activities
Mansur Mughnee
 
Fill in the blank
Mansur Mughnee
 
Fill in the blank
Mansur Mughnee
 
How to write an expression for an integer
Mansur Mughnee
 
Data types in c
Mansur Mughnee
 
Variable
Mansur Mughnee
 
Variable
Mansur Mughnee
 
Ad

Recently uploaded (20)

PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PPTX
Difference between write and update in odoo 18
Celine George
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPTX
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
infertility, types,causes, impact, and management
Ritu480198
 
Difference between write and update in odoo 18
Celine George
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 

Basic concept of object oriented programming

  • 1. Basic Concepts of object-oriented programming. Object Data Abstraction Classes 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 object is an entity that has state, behavior and identity. there are many objects around us. E.g. computer mouse is an object. it is considered an object with states would be its color,sizeand brand name and its behavior would be left-Click, right-click. Classes A class is an entity that helps that programmer to define a new complex data type. Objects are the variables of type class. A class defines the data and behavior of objects. In simple’s words, a class is a collection of objects of similar type. E.g. Mango apple and orange are members of the class. Data Abstraction Data Abstraction refers to the act of representing essential features without including the back-ground details. It is concerned with separating the behavior of a data object from its representation. 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
  • 2. 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 , encapsulation data members and functions in a class promotes data hiding. this concept with 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. Inheritance inheritance is process by which objects of new class acquire the properties of objects of existing (base) class. It is in inheritance order. The concept of inheritance provides the idea of reusability. The 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 geek term, means the ability to take more than one form. The process of making an operator to show different behaviors in difference instances is known as over loading. Using a single function name to perform difference 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.
  • 3. 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, object communicates 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 therefore 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 object, the name of the function and the information to be sent.