SlideShare ist ein Scribd-Unternehmen logo
1 von 9
PRINCIPLES OF OBJECT
ORIENTED PROGRAMMING
KEY CONCEPTS
 SOFTWARE EVOLUTION
 PROCEDURE ORIENTED PROGRAMMING
 OBJECT ORIENTED PROGRAMMING
 OBJECTS
 CLASSES
 DATA ABSTRACTION
 ENCAPSULATION
 INHERITANCE
 POLYMORPHISM
 DYNAMIC BINDING
 MESSAGE PASSING
 OBJECT ORIENTED LANGUAGES
 OBJECT BASED LANGUAGES
SUMMARY
 Software technology has evolved through a series of phases during the
last five decades.
 The most popular phase till recently was procedure oriented
programming(POP).
 POP employs top down programming approach where a problem is
viewed as a sequence of tasks to be performed. A number of functions
are written to implement these tasks.
 POP has two major drawbacks, viz (1) data move freely around the
program and are therefore vulnerable to the changes caused by any
functions in the program and (2) it does not model well the real-world
problems.
 Object Oriented Programming(OOP) was invented to overcome the
drawbacks of the POP. It employs the bottom-up programming approach.
It treats data as a critical element in the program development and does
not allow it to move freely around the system. It ties data more closely to
the functions that operate on it in a data structure called class. This
feature is called data encapsulation .
 In OOP, a problem is considered as a collection of number of entities
called objects. Objects are instances of classes.
SUMMARY CONTD
 Insulation of data from direct access by the program is called data hiding.
 Data abstraction refers to putting together essential features without including
background details.
 Inheritance is a process by which objects of one class acquire the properties of
objects of another class.
 Polymorphism means one name , multiple forms. It allows us to have more than
one functions with same function name in a program. It also allows overloading of
operators so that an operation can exhibit different behaviors in different
instances.
 Dynamic Binding means that the code associated with a given procedure is not
known until the time of the call at run-time.
 Message Passing involves specifying the name of the object , the name of the
function (message) and the information to be sent.
 Object-oriented technology offers several benefits over the conventional
programming methods-the most important one is being the reusability.
 Applications of OOP technology has gained importance in almost all areas of
computing including real-time business systems.
 There are a number of languages that support object-oriented programming
paradigm. Popular among them are C++,Smalltalk and Java. C++ has become
industry standard language today.
KEY TERMS
 Ada
 assembly language
 Bottom up programming
 C++
 Classes
 Concurrency
 Data abstraction
 Data encapsulation
 Data hiding
 Data members
 Dynamic binding
 Early binding
 Eiffel
 Flowcharts
 Function overloading
 Functions
 Garbage collection
 Global data
KEY TERMS CONTD
 Hierarchical classification
 Inheritance
 Java
 Late binding
 Local data
 Machine language
 Member functions
 Message passing
 Methods
 Modular programming
 Multiple inheritance
 Object libraries
 Object Pascal
 Object-based programming
 Objective C
 Object -oriented languages
 Object -oriented programming
 Objects
 Operator overloading
 Persistence
KEY TERMS CONTD
 Polymorphism
 Procedure-oriented programming
 Reusability
 Simula
 Smalltalk
 Structured programming
 Top-down programming
 Turbo Pascal
REFERENCES
OBJECT ORIENTED PROGRAMMING WITH C++
-E. Balagurusamy
Principles of object oriented programming

Weitere ähnliche Inhalte

Was ist angesagt?

PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING Uttam Singh
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programmingAmar Jukuntla
 
OOP Unit 1 - Foundation of Object- Oriented Programming
OOP Unit 1 - Foundation of Object- Oriented ProgrammingOOP Unit 1 - Foundation of Object- Oriented Programming
OOP Unit 1 - Foundation of Object- Oriented Programmingdkpawar
 
Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1Mahmoud Alfarra
 
Introduction to oop
Introduction to oop Introduction to oop
Introduction to oop Kumar
 
Object Oriented programming - Introduction
Object Oriented programming - IntroductionObject Oriented programming - Introduction
Object Oriented programming - IntroductionMadishetty Prathibha
 
diffrence between procedure oriented programming & object oriented programmin...
diffrence between procedure oriented programming & object oriented programmin...diffrence between procedure oriented programming & object oriented programmin...
diffrence between procedure oriented programming & object oriented programmin...nihar joshi
 
1 Intro Object Oriented Programming
1  Intro Object Oriented Programming1  Intro Object Oriented Programming
1 Intro Object Oriented ProgrammingDocent Education
 
Concepts In Object Oriented Programming Languages
Concepts In Object Oriented Programming LanguagesConcepts In Object Oriented Programming Languages
Concepts In Object Oriented Programming Languagesppd1961
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingAmit Soni (CTFL)
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented ProgrammingIqra khalil
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Languagedheva B
 
Object oriented vs. object based programming
Object oriented vs. object based  programmingObject oriented vs. object based  programming
Object oriented vs. object based programmingMohammad Kamrul Hasan
 

Was ist angesagt? (20)

Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
2 Object Oriented Programming
2 Object Oriented Programming2 Object Oriented Programming
2 Object Oriented Programming
 
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
 
C++ chapter 1
C++ chapter 1C++ chapter 1
C++ chapter 1
 
Oops
OopsOops
Oops
 
Presentation c
Presentation cPresentation c
Presentation c
 
OOP Unit 1 - Foundation of Object- Oriented Programming
OOP Unit 1 - Foundation of Object- Oriented ProgrammingOOP Unit 1 - Foundation of Object- Oriented Programming
OOP Unit 1 - Foundation of Object- Oriented Programming
 
Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1Object Oriented Programming in Java _lecture 1
Object Oriented Programming in Java _lecture 1
 
Introduction to oop
Introduction to oop Introduction to oop
Introduction to oop
 
Object Oriented programming - Introduction
Object Oriented programming - IntroductionObject Oriented programming - Introduction
Object Oriented programming - Introduction
 
diffrence between procedure oriented programming & object oriented programmin...
diffrence between procedure oriented programming & object oriented programmin...diffrence between procedure oriented programming & object oriented programmin...
diffrence between procedure oriented programming & object oriented programmin...
 
1 Intro Object Oriented Programming
1  Intro Object Oriented Programming1  Intro Object Oriented Programming
1 Intro Object Oriented Programming
 
Concepts In Object Oriented Programming Languages
Concepts In Object Oriented Programming LanguagesConcepts In Object Oriented Programming Languages
Concepts In Object Oriented Programming Languages
 
Unit 1 OOSE
Unit 1 OOSE Unit 1 OOSE
Unit 1 OOSE
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
[OOP - Lec 02] Why do we need OOP
[OOP - Lec 02] Why do we need OOP[OOP - Lec 02] Why do we need OOP
[OOP - Lec 02] Why do we need OOP
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
 
Object oriented vs. object based programming
Object oriented vs. object based  programmingObject oriented vs. object based  programming
Object oriented vs. object based programming
 

Andere mochten auch

20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental PrinciplesIntro C# Book
 
國發會online網路媒體溝通會
國發會online網路媒體溝通會國發會online網路媒體溝通會
國發會online網路媒體溝通會Yu Shu Huang
 
Bestow Showcase: Godrej Chotukool
Bestow Showcase: Godrej ChotukoolBestow Showcase: Godrej Chotukool
Bestow Showcase: Godrej ChotukoolBestow
 
PPT Media Pembelajaran dan ICT Kelompok 2
PPT Media Pembelajaran dan ICT  Kelompok 2PPT Media Pembelajaran dan ICT  Kelompok 2
PPT Media Pembelajaran dan ICT Kelompok 2tinuthmarinuth
 
Marketing Cloud
Marketing CloudMarketing Cloud
Marketing CloudOorjit
 
Fabric Duct and Pressure Test Results
Fabric Duct and Pressure Test ResultsFabric Duct and Pressure Test Results
Fabric Duct and Pressure Test ResultsTawada Cleantech
 
Analisis literareo perrita guillermina
Analisis literareo perrita guillerminaAnalisis literareo perrita guillermina
Analisis literareo perrita guillerminajjdvc
 
Presentation 224 b margie ware insurance and benefits counseling as a core se...
Presentation 224 b margie ware insurance and benefits counseling as a core se...Presentation 224 b margie ware insurance and benefits counseling as a core se...
Presentation 224 b margie ware insurance and benefits counseling as a core se...The ALS Association
 
Presentation 204 lisa bruening aac in times of change
Presentation 204  lisa bruening aac in times of changePresentation 204  lisa bruening aac in times of change
Presentation 204 lisa bruening aac in times of changeThe ALS Association
 

Andere mochten auch (15)

20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles
 
Self Growth
Self GrowthSelf Growth
Self Growth
 
國發會online網路媒體溝通會
國發會online網路媒體溝通會國發會online網路媒體溝通會
國發會online網路媒體溝通會
 
Barios crosober
Barios crosoberBarios crosober
Barios crosober
 
Vioxx tn2015
Vioxx tn2015Vioxx tn2015
Vioxx tn2015
 
Saree exporters
Saree exportersSaree exporters
Saree exporters
 
Bestow Showcase: Godrej Chotukool
Bestow Showcase: Godrej ChotukoolBestow Showcase: Godrej Chotukool
Bestow Showcase: Godrej Chotukool
 
PPT Media Pembelajaran dan ICT Kelompok 2
PPT Media Pembelajaran dan ICT  Kelompok 2PPT Media Pembelajaran dan ICT  Kelompok 2
PPT Media Pembelajaran dan ICT Kelompok 2
 
Marketing Cloud
Marketing CloudMarketing Cloud
Marketing Cloud
 
Fabric Duct and Pressure Test Results
Fabric Duct and Pressure Test ResultsFabric Duct and Pressure Test Results
Fabric Duct and Pressure Test Results
 
Passive voice
Passive voicePassive voice
Passive voice
 
Analisis literareo perrita guillermina
Analisis literareo perrita guillerminaAnalisis literareo perrita guillermina
Analisis literareo perrita guillermina
 
Presentation 224 b margie ware insurance and benefits counseling as a core se...
Presentation 224 b margie ware insurance and benefits counseling as a core se...Presentation 224 b margie ware insurance and benefits counseling as a core se...
Presentation 224 b margie ware insurance and benefits counseling as a core se...
 
Presentation 204 lisa bruening aac in times of change
Presentation 204  lisa bruening aac in times of changePresentation 204  lisa bruening aac in times of change
Presentation 204 lisa bruening aac in times of change
 
A bit of Haskell
A bit of HaskellA bit of Haskell
A bit of Haskell
 

Ähnlich wie Principles of object oriented programming

Bca 2nd sem u-1 iintroduction
Bca 2nd sem u-1 iintroductionBca 2nd sem u-1 iintroduction
Bca 2nd sem u-1 iintroductionRai University
 
Mca 2 sem u-1 iintroduction
Mca 2 sem u-1 iintroductionMca 2 sem u-1 iintroduction
Mca 2 sem u-1 iintroductionRai University
 
OBJECT ORIENTED PROGRAMMING.docx
OBJECT ORIENTED PROGRAMMING.docxOBJECT ORIENTED PROGRAMMING.docx
OBJECT ORIENTED PROGRAMMING.docxAleKi2
 
Need of OOPs and Programming,pop vs oop
Need of OOPs and Programming,pop vs oopNeed of OOPs and Programming,pop vs oop
Need of OOPs and Programming,pop vs oopJanani Selvaraj
 
PCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxPCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxprakashvs7
 
Evolution Of Object Oriented Technology
Evolution Of Object Oriented TechnologyEvolution Of Object Oriented Technology
Evolution Of Object Oriented TechnologySharon Roberts
 
Oop in c++ lecture 1
Oop in c++  lecture 1Oop in c++  lecture 1
Oop in c++ lecture 1zk75977
 
OOP Comparative Study
OOP Comparative StudyOOP Comparative Study
OOP Comparative StudyDarren Tan
 
Object Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptxObject Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptxparveen837153
 
Unit 1 introduction to c++.pptx
Unit 1 introduction to c++.pptxUnit 1 introduction to c++.pptx
Unit 1 introduction to c++.pptxshashiden1
 

Ähnlich wie Principles of object oriented programming (20)

Bca 2nd sem u-1 iintroduction
Bca 2nd sem u-1 iintroductionBca 2nd sem u-1 iintroduction
Bca 2nd sem u-1 iintroduction
 
Mca 2 sem u-1 iintroduction
Mca 2 sem u-1 iintroductionMca 2 sem u-1 iintroduction
Mca 2 sem u-1 iintroduction
 
OBJECT ORIENTED PROGRAMMING.docx
OBJECT ORIENTED PROGRAMMING.docxOBJECT ORIENTED PROGRAMMING.docx
OBJECT ORIENTED PROGRAMMING.docx
 
Unit 1
Unit 1Unit 1
Unit 1
 
JAVA
JAVAJAVA
JAVA
 
C++ notes.pdf
C++ notes.pdfC++ notes.pdf
C++ notes.pdf
 
Lec-01.pptx
Lec-01.pptxLec-01.pptx
Lec-01.pptx
 
OOP ppt.pdf
OOP ppt.pdfOOP ppt.pdf
OOP ppt.pdf
 
Need of OOPs and Programming,pop vs oop
Need of OOPs and Programming,pop vs oopNeed of OOPs and Programming,pop vs oop
Need of OOPs and Programming,pop vs oop
 
chapter-6-oops.pdf
chapter-6-oops.pdfchapter-6-oops.pdf
chapter-6-oops.pdf
 
PCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxPCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docx
 
Evolution Of Object Oriented Technology
Evolution Of Object Oriented TechnologyEvolution Of Object Oriented Technology
Evolution Of Object Oriented Technology
 
OOP.pptx
OOP.pptxOOP.pptx
OOP.pptx
 
OOP Java
OOP JavaOOP Java
OOP Java
 
Oop in c++ lecture 1
Oop in c++  lecture 1Oop in c++  lecture 1
Oop in c++ lecture 1
 
OOP Comparative Study
OOP Comparative StudyOOP Comparative Study
OOP Comparative Study
 
Oop basic overview
Oop basic overviewOop basic overview
Oop basic overview
 
Abhiram
AbhiramAbhiram
Abhiram
 
Object Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptxObject Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptx
 
Unit 1 introduction to c++.pptx
Unit 1 introduction to c++.pptxUnit 1 introduction to c++.pptx
Unit 1 introduction to c++.pptx
 

Kürzlich hochgeladen

WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 

Kürzlich hochgeladen (20)

WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 

Principles of object oriented programming

  • 2. KEY CONCEPTS  SOFTWARE EVOLUTION  PROCEDURE ORIENTED PROGRAMMING  OBJECT ORIENTED PROGRAMMING  OBJECTS  CLASSES  DATA ABSTRACTION  ENCAPSULATION  INHERITANCE  POLYMORPHISM  DYNAMIC BINDING  MESSAGE PASSING  OBJECT ORIENTED LANGUAGES  OBJECT BASED LANGUAGES
  • 3. SUMMARY  Software technology has evolved through a series of phases during the last five decades.  The most popular phase till recently was procedure oriented programming(POP).  POP employs top down programming approach where a problem is viewed as a sequence of tasks to be performed. A number of functions are written to implement these tasks.  POP has two major drawbacks, viz (1) data move freely around the program and are therefore vulnerable to the changes caused by any functions in the program and (2) it does not model well the real-world problems.  Object Oriented Programming(OOP) was invented to overcome the drawbacks of the POP. It employs the bottom-up programming approach. It treats data as a critical element in the program development and does not allow it to move freely around the system. It ties data more closely to the functions that operate on it in a data structure called class. This feature is called data encapsulation .  In OOP, a problem is considered as a collection of number of entities called objects. Objects are instances of classes.
  • 4. SUMMARY CONTD  Insulation of data from direct access by the program is called data hiding.  Data abstraction refers to putting together essential features without including background details.  Inheritance is a process by which objects of one class acquire the properties of objects of another class.  Polymorphism means one name , multiple forms. It allows us to have more than one functions with same function name in a program. It also allows overloading of operators so that an operation can exhibit different behaviors in different instances.  Dynamic Binding means that the code associated with a given procedure is not known until the time of the call at run-time.  Message Passing involves specifying the name of the object , the name of the function (message) and the information to be sent.  Object-oriented technology offers several benefits over the conventional programming methods-the most important one is being the reusability.  Applications of OOP technology has gained importance in almost all areas of computing including real-time business systems.  There are a number of languages that support object-oriented programming paradigm. Popular among them are C++,Smalltalk and Java. C++ has become industry standard language today.
  • 5. KEY TERMS  Ada  assembly language  Bottom up programming  C++  Classes  Concurrency  Data abstraction  Data encapsulation  Data hiding  Data members  Dynamic binding  Early binding  Eiffel  Flowcharts  Function overloading  Functions  Garbage collection  Global data
  • 6. KEY TERMS CONTD  Hierarchical classification  Inheritance  Java  Late binding  Local data  Machine language  Member functions  Message passing  Methods  Modular programming  Multiple inheritance  Object libraries  Object Pascal  Object-based programming  Objective C  Object -oriented languages  Object -oriented programming  Objects  Operator overloading  Persistence
  • 7. KEY TERMS CONTD  Polymorphism  Procedure-oriented programming  Reusability  Simula  Smalltalk  Structured programming  Top-down programming  Turbo Pascal
  • 8. REFERENCES OBJECT ORIENTED PROGRAMMING WITH C++ -E. Balagurusamy