SlideShare a Scribd company logo
1 of 11
Download to read offline
Introduction Forms of Polymorphism Summary References
MULTIPLE INHERITANCE
Muhammad Adil Raja
Roaming Researchers, Inc.
cbna
April 20, 2015
Introduction Forms of Polymorphism Summary References
OUTLINE I
INTRODUCTION
FORMS OF POLYMORPHISM
SUMMARY
REFERENCES
Introduction Forms of Polymorphism Summary References
INTRODUCTION
• In this chapter and the four that follow we will start to
investigate polymorphism, as it is found in many forms in
object-oriented languages.
• In this chapter we will outline the four major types of
polymorphism, then explore them in more detail in the later
chapters.
• The different mechanisms each have the same goal of
encouraging software reuse, facilitating ease of
understanding and speeding application development.
Introduction Forms of Polymorphism Summary References
DEFINITION OF POLYMORPHISM
MESSAGE SYNTAX
• Polymorphous: Having, or assuming, various forms,
characters, or styles.
• From greek routes, poly = many, and Morphos = form
(Morphus was the greek god of sleep, who could assume
many forms, and from which we derive the name
Morphine, among other things).
• A polymorphic compound can crystalize in many forms,
such as carbon, which can be graphite, diamonds, or
fullerenes.
• In programming languages, used for a variety of different
mechanisms.
• Usage of the term is confused by the fact that it means
something slightly different in the functional programming
community than it does in the OO world.)
Introduction Forms of Polymorphism Summary References
FORMS OF POLYMORPHISM IN OOP
• There are four major forms of polymorphism in
object-oriented languages:
• Overloading (ad hoc polymorphism) – one name that
refers to two or more different implementations.
• Overriding (inclusion polymorphism) – A child class
redefining a method inherited from a parent class.
• The Polymorphic Variable (assignment polymorphism) – A
variable that can hold different types of values during the
course of execution.
• It is called Pure Polymorphism when a polymorphic
variable is used as a parameter.
• Generics (or Templates) – A way of creating general tools
or classes by parameterizing on types.
Introduction Forms of Polymorphism Summary References
TWO FORMS OF SOFTWARE REUSE
• One of the major goals of OOP is software reuse.
• We can illustrate this by considering two different
approaches to reuse:
• Inheritance – the is-a relationship.
• Composition – the has-a relationship.
• We do this by considering an example problem that could
use either mechanism.
Introduction Forms of Polymorphism Summary References
EXAMPLE – BUILDING SETS FROM LISTS
• Suppose we have already a List data type with the
following behavior:
• Want to build the Set data type (elements are unique).
LISTS
class L i s t {
public :
void add ( int ) ;
int includes ( int ) ;
void remove ( int ) ;
int firstElement ( ) ;
} ;
Introduction Forms of Polymorphism Summary References
USING INHERITANCE
Only need specify what is new - the addition method.
Everything else is given for free.
INHERITANCE
class Set : public L i s t {
public :
void add ( int ) ;
} ;
void Set : : add ( int x )
{
i f ( ! includes ( x ) ) / / only include i f not already there
L i s t : : add ( x ) ;
}
Introduction Forms of Polymorphism Summary References
USING COMPOSITION
• Everything must be redefined, but implementation can
make use of the list data structure.
COMPOSITION
class Set {
public :
void add ( int ) ;
int includes ( int ) ;
void remove ( int ) ;
int firstElement ( ) ;
private :
L i s t data ;
} ;
void Set : : add ( int x )
{
i f ( ! data . includes ( x ) )
data . add ( x ) ;
}
int Set : : includes ( int x )
{ return data . includes ( x ) ; }
void Set : : remove ( int x )
{ data . remove ( x ) ; }
int Set : : firstElement ( )
{ return data . firstElement ( ) ; }
Introduction Forms of Polymorphism Summary References
ADVANTAGES AND DISADVANTAGES OF EACH
MECHANISM
• Composition is simpler, and clearly indicates what
operations are provided.
• Inheritance makes for shorter code, possibly increased
functionality, but makes it more difficult to understand what
behavior is being provided.
• Inheritance may open to the door for unintended usage, by
means of unintended inheritance of behavior.
• Easier to change underlying details using composition (i.e.,
change the data representation).
• Inheritance may permit polymorphism.
• Understandability is a toss-up, each has different
complexity issues (size versus inheritance tree depth).
• Very small execution time advantage for inheritance.
Introduction Forms of Polymorphism Summary References
REFERENCES
• Images and content for developing these slides have been
taken from the follwoing book with the permission of the
author.
• An Introduction to Object Oriented Programming, Timothy
Budd.
• This presentation is developed using Beamer:
• Singapore, beaver.

More Related Content

What's hot

Polymorphism In Java
Polymorphism In JavaPolymorphism In Java
Polymorphism In JavaSpotle.ai
 
‫‫Chapter4 Polymorphism
‫‫Chapter4 Polymorphism‫‫Chapter4 Polymorphism
‫‫Chapter4 PolymorphismMahmoud Alfarra
 
Object as function argument , friend and static function by shahzad younas
Object as function argument , friend and static function by shahzad younasObject as function argument , friend and static function by shahzad younas
Object as function argument , friend and static function by shahzad younasShahzad Younas
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented ProgrammingHaris Bin Zahid
 
MX Server is my friend
MX Server is my friendMX Server is my friend
MX Server is my friendGabriel Daty
 
Friends function and_classes
Friends function and_classesFriends function and_classes
Friends function and_classesasadsardar
 
Abstract Class & Abstract Method in Core Java
Abstract Class & Abstract Method in Core JavaAbstract Class & Abstract Method in Core Java
Abstract Class & Abstract Method in Core JavaMOHIT AGARWAL
 
Java abstract class & abstract methods
Java abstract class & abstract methodsJava abstract class & abstract methods
Java abstract class & abstract methodsShubham Dwivedi
 
Polymorphism presentation in java
Polymorphism presentation in javaPolymorphism presentation in java
Polymorphism presentation in javaAhsan Raja
 
Abstract Class Presentation
Abstract Class PresentationAbstract Class Presentation
Abstract Class Presentationtigerwarn
 
4. java intro class
4. java intro class4. java intro class
4. java intro classQuan Ho
 
Unit 2-data types,Variables,Operators,Conitionals,loops and arrays
Unit 2-data types,Variables,Operators,Conitionals,loops and arraysUnit 2-data types,Variables,Operators,Conitionals,loops and arrays
Unit 2-data types,Variables,Operators,Conitionals,loops and arraysDevaKumari Vijay
 
Interface in java ,multiple inheritance in java, interface implementation
Interface in java ,multiple inheritance in java, interface implementationInterface in java ,multiple inheritance in java, interface implementation
Interface in java ,multiple inheritance in java, interface implementationHoneyChintal
 

What's hot (18)

Polymorphism In Java
Polymorphism In JavaPolymorphism In Java
Polymorphism In Java
 
‫‫Chapter4 Polymorphism
‫‫Chapter4 Polymorphism‫‫Chapter4 Polymorphism
‫‫Chapter4 Polymorphism
 
Object as function argument , friend and static function by shahzad younas
Object as function argument , friend and static function by shahzad younasObject as function argument , friend and static function by shahzad younas
Object as function argument , friend and static function by shahzad younas
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Polymorphism
PolymorphismPolymorphism
Polymorphism
 
MX Server is my friend
MX Server is my friendMX Server is my friend
MX Server is my friend
 
OOP java
OOP javaOOP java
OOP java
 
Abstract classes and interfaces
Abstract classes and interfacesAbstract classes and interfaces
Abstract classes and interfaces
 
Friends function and_classes
Friends function and_classesFriends function and_classes
Friends function and_classes
 
Java interface
Java interfaceJava interface
Java interface
 
Inheritance
InheritanceInheritance
Inheritance
 
Abstract Class & Abstract Method in Core Java
Abstract Class & Abstract Method in Core JavaAbstract Class & Abstract Method in Core Java
Abstract Class & Abstract Method in Core Java
 
Java abstract class & abstract methods
Java abstract class & abstract methodsJava abstract class & abstract methods
Java abstract class & abstract methods
 
Polymorphism presentation in java
Polymorphism presentation in javaPolymorphism presentation in java
Polymorphism presentation in java
 
Abstract Class Presentation
Abstract Class PresentationAbstract Class Presentation
Abstract Class Presentation
 
4. java intro class
4. java intro class4. java intro class
4. java intro class
 
Unit 2-data types,Variables,Operators,Conitionals,loops and arrays
Unit 2-data types,Variables,Operators,Conitionals,loops and arraysUnit 2-data types,Variables,Operators,Conitionals,loops and arrays
Unit 2-data types,Variables,Operators,Conitionals,loops and arrays
 
Interface in java ,multiple inheritance in java, interface implementation
Interface in java ,multiple inheritance in java, interface implementationInterface in java ,multiple inheritance in java, interface implementation
Interface in java ,multiple inheritance in java, interface implementation
 

Similar to Introduction to Polymorphism Forms

Introduction to oop
Introduction to oopIntroduction to oop
Introduction to oopcolleges
 
Object-Oriented Polymorphism Unleashed
Object-Oriented Polymorphism UnleashedObject-Oriented Polymorphism Unleashed
Object-Oriented Polymorphism UnleashedNaresh Chintalcheru
 
OOPS – General Understanding in .NET
OOPS – General Understanding in .NETOOPS – General Understanding in .NET
OOPS – General Understanding in .NETSabith Byari
 
Object Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) IntroductionObject Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) IntroductionSamuelAnsong6
 
Pi j3.2 polymorphism
Pi j3.2 polymorphismPi j3.2 polymorphism
Pi j3.2 polymorphismmcollison
 
Corejavainterviewquestions.doc
Corejavainterviewquestions.docCorejavainterviewquestions.doc
Corejavainterviewquestions.docJoyce Thomas
 
Implementing polymorphism
Implementing polymorphismImplementing polymorphism
Implementing polymorphismrajshreemuthiah
 
python interview prep question , 52 questions
python interview prep question , 52 questionspython interview prep question , 52 questions
python interview prep question , 52 questionsgokul174578
 
Diving in OOP (Day 1) : Polymorphism and Inheritance (Early Binding/Compile T...
Diving in OOP (Day 1) : Polymorphism and Inheritance (Early Binding/Compile T...Diving in OOP (Day 1) : Polymorphism and Inheritance (Early Binding/Compile T...
Diving in OOP (Day 1) : Polymorphism and Inheritance (Early Binding/Compile T...Akhil Mittal
 
oopsinvb-191021101327.pdf
oopsinvb-191021101327.pdfoopsinvb-191021101327.pdf
oopsinvb-191021101327.pdfJP Chicano
 
EEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answerEEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answerJeba Moses
 

Similar to Introduction to Polymorphism Forms (20)

Introduction to oop
Introduction to oopIntroduction to oop
Introduction to oop
 
Object-Oriented Polymorphism Unleashed
Object-Oriented Polymorphism UnleashedObject-Oriented Polymorphism Unleashed
Object-Oriented Polymorphism Unleashed
 
C++ first s lide
C++ first s lideC++ first s lide
C++ first s lide
 
OOPS – General Understanding in .NET
OOPS – General Understanding in .NETOOPS – General Understanding in .NET
OOPS – General Understanding in .NET
 
Object Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) IntroductionObject Oriented Programming (OOP) Introduction
Object Oriented Programming (OOP) Introduction
 
Phython presentation
Phython presentationPhython presentation
Phython presentation
 
Pi j3.2 polymorphism
Pi j3.2 polymorphismPi j3.2 polymorphism
Pi j3.2 polymorphism
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Python Concepts
Python ConceptsPython Concepts
Python Concepts
 
Corejavainterviewquestions.doc
Corejavainterviewquestions.docCorejavainterviewquestions.doc
Corejavainterviewquestions.doc
 
Implementing polymorphism
Implementing polymorphismImplementing polymorphism
Implementing polymorphism
 
Python training
Python trainingPython training
Python training
 
Python training
Python trainingPython training
Python training
 
python interview prep question , 52 questions
python interview prep question , 52 questionspython interview prep question , 52 questions
python interview prep question , 52 questions
 
Diving in OOP (Day 1) : Polymorphism and Inheritance (Early Binding/Compile T...
Diving in OOP (Day 1) : Polymorphism and Inheritance (Early Binding/Compile T...Diving in OOP (Day 1) : Polymorphism and Inheritance (Early Binding/Compile T...
Diving in OOP (Day 1) : Polymorphism and Inheritance (Early Binding/Compile T...
 
oopsinvb-191021101327.pdf
oopsinvb-191021101327.pdfoopsinvb-191021101327.pdf
oopsinvb-191021101327.pdf
 
Oops in vb
Oops in vbOops in vb
Oops in vb
 
Intervies
InterviesIntervies
Intervies
 
PYTHON 101.pptx
PYTHON 101.pptxPYTHON 101.pptx
PYTHON 101.pptx
 
EEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answerEEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answer
 

More from adil raja

A Software Requirements Specification
A Software Requirements SpecificationA Software Requirements Specification
A Software Requirements Specificationadil raja
 
NUAV - A Testbed for Development of Autonomous Unmanned Aerial Vehicles
NUAV - A Testbed for Development of Autonomous Unmanned Aerial VehiclesNUAV - A Testbed for Development of Autonomous Unmanned Aerial Vehicles
NUAV - A Testbed for Development of Autonomous Unmanned Aerial Vehiclesadil raja
 
DevOps Demystified
DevOps DemystifiedDevOps Demystified
DevOps Demystifiedadil raja
 
On Research (And Development)
On Research (And Development)On Research (And Development)
On Research (And Development)adil raja
 
Simulators as Drivers of Cutting Edge Research
Simulators as Drivers of Cutting Edge ResearchSimulators as Drivers of Cutting Edge Research
Simulators as Drivers of Cutting Edge Researchadil raja
 
The Knock Knock Protocol
The Knock Knock ProtocolThe Knock Knock Protocol
The Knock Knock Protocoladil raja
 
File Transfer Through Sockets
File Transfer Through SocketsFile Transfer Through Sockets
File Transfer Through Socketsadil raja
 
Remote Command Execution
Remote Command ExecutionRemote Command Execution
Remote Command Executionadil raja
 
CMM Level 3 Assessment of Xavor Pakistan
CMM Level 3 Assessment of Xavor PakistanCMM Level 3 Assessment of Xavor Pakistan
CMM Level 3 Assessment of Xavor Pakistanadil raja
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousingadil raja
 
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...adil raja
 
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...adil raja
 
Real-Time Non-Intrusive Speech Quality Estimation for VoIP
Real-Time Non-Intrusive Speech Quality Estimation for VoIPReal-Time Non-Intrusive Speech Quality Estimation for VoIP
Real-Time Non-Intrusive Speech Quality Estimation for VoIPadil raja
 
ULMAN GUI Specifications
ULMAN GUI SpecificationsULMAN GUI Specifications
ULMAN GUI Specificationsadil raja
 
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...adil raja
 
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...adil raja
 

More from adil raja (20)

ANNs.pdf
ANNs.pdfANNs.pdf
ANNs.pdf
 
A Software Requirements Specification
A Software Requirements SpecificationA Software Requirements Specification
A Software Requirements Specification
 
NUAV - A Testbed for Development of Autonomous Unmanned Aerial Vehicles
NUAV - A Testbed for Development of Autonomous Unmanned Aerial VehiclesNUAV - A Testbed for Development of Autonomous Unmanned Aerial Vehicles
NUAV - A Testbed for Development of Autonomous Unmanned Aerial Vehicles
 
DevOps Demystified
DevOps DemystifiedDevOps Demystified
DevOps Demystified
 
On Research (And Development)
On Research (And Development)On Research (And Development)
On Research (And Development)
 
Simulators as Drivers of Cutting Edge Research
Simulators as Drivers of Cutting Edge ResearchSimulators as Drivers of Cutting Edge Research
Simulators as Drivers of Cutting Edge Research
 
The Knock Knock Protocol
The Knock Knock ProtocolThe Knock Knock Protocol
The Knock Knock Protocol
 
File Transfer Through Sockets
File Transfer Through SocketsFile Transfer Through Sockets
File Transfer Through Sockets
 
Remote Command Execution
Remote Command ExecutionRemote Command Execution
Remote Command Execution
 
Thesis
ThesisThesis
Thesis
 
CMM Level 3 Assessment of Xavor Pakistan
CMM Level 3 Assessment of Xavor PakistanCMM Level 3 Assessment of Xavor Pakistan
CMM Level 3 Assessment of Xavor Pakistan
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
 
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
 
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
Implementation of a Non-Intrusive Speech Quality Assessment Tool on a Mid-Net...
 
Real-Time Non-Intrusive Speech Quality Estimation for VoIP
Real-Time Non-Intrusive Speech Quality Estimation for VoIPReal-Time Non-Intrusive Speech Quality Estimation for VoIP
Real-Time Non-Intrusive Speech Quality Estimation for VoIP
 
VoIP
VoIPVoIP
VoIP
 
ULMAN GUI Specifications
ULMAN GUI SpecificationsULMAN GUI Specifications
ULMAN GUI Specifications
 
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
 
ULMAN-GUI
ULMAN-GUIULMAN-GUI
ULMAN-GUI
 
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
Modeling the Effect of Packet Loss on Speech Quality: Genetic Programming Bas...
 

Introduction to Polymorphism Forms

  • 1. Introduction Forms of Polymorphism Summary References MULTIPLE INHERITANCE Muhammad Adil Raja Roaming Researchers, Inc. cbna April 20, 2015
  • 2. Introduction Forms of Polymorphism Summary References OUTLINE I INTRODUCTION FORMS OF POLYMORPHISM SUMMARY REFERENCES
  • 3. Introduction Forms of Polymorphism Summary References INTRODUCTION • In this chapter and the four that follow we will start to investigate polymorphism, as it is found in many forms in object-oriented languages. • In this chapter we will outline the four major types of polymorphism, then explore them in more detail in the later chapters. • The different mechanisms each have the same goal of encouraging software reuse, facilitating ease of understanding and speeding application development.
  • 4. Introduction Forms of Polymorphism Summary References DEFINITION OF POLYMORPHISM MESSAGE SYNTAX • Polymorphous: Having, or assuming, various forms, characters, or styles. • From greek routes, poly = many, and Morphos = form (Morphus was the greek god of sleep, who could assume many forms, and from which we derive the name Morphine, among other things). • A polymorphic compound can crystalize in many forms, such as carbon, which can be graphite, diamonds, or fullerenes. • In programming languages, used for a variety of different mechanisms. • Usage of the term is confused by the fact that it means something slightly different in the functional programming community than it does in the OO world.)
  • 5. Introduction Forms of Polymorphism Summary References FORMS OF POLYMORPHISM IN OOP • There are four major forms of polymorphism in object-oriented languages: • Overloading (ad hoc polymorphism) – one name that refers to two or more different implementations. • Overriding (inclusion polymorphism) – A child class redefining a method inherited from a parent class. • The Polymorphic Variable (assignment polymorphism) – A variable that can hold different types of values during the course of execution. • It is called Pure Polymorphism when a polymorphic variable is used as a parameter. • Generics (or Templates) – A way of creating general tools or classes by parameterizing on types.
  • 6. Introduction Forms of Polymorphism Summary References TWO FORMS OF SOFTWARE REUSE • One of the major goals of OOP is software reuse. • We can illustrate this by considering two different approaches to reuse: • Inheritance – the is-a relationship. • Composition – the has-a relationship. • We do this by considering an example problem that could use either mechanism.
  • 7. Introduction Forms of Polymorphism Summary References EXAMPLE – BUILDING SETS FROM LISTS • Suppose we have already a List data type with the following behavior: • Want to build the Set data type (elements are unique). LISTS class L i s t { public : void add ( int ) ; int includes ( int ) ; void remove ( int ) ; int firstElement ( ) ; } ;
  • 8. Introduction Forms of Polymorphism Summary References USING INHERITANCE Only need specify what is new - the addition method. Everything else is given for free. INHERITANCE class Set : public L i s t { public : void add ( int ) ; } ; void Set : : add ( int x ) { i f ( ! includes ( x ) ) / / only include i f not already there L i s t : : add ( x ) ; }
  • 9. Introduction Forms of Polymorphism Summary References USING COMPOSITION • Everything must be redefined, but implementation can make use of the list data structure. COMPOSITION class Set { public : void add ( int ) ; int includes ( int ) ; void remove ( int ) ; int firstElement ( ) ; private : L i s t data ; } ; void Set : : add ( int x ) { i f ( ! data . includes ( x ) ) data . add ( x ) ; } int Set : : includes ( int x ) { return data . includes ( x ) ; } void Set : : remove ( int x ) { data . remove ( x ) ; } int Set : : firstElement ( ) { return data . firstElement ( ) ; }
  • 10. Introduction Forms of Polymorphism Summary References ADVANTAGES AND DISADVANTAGES OF EACH MECHANISM • Composition is simpler, and clearly indicates what operations are provided. • Inheritance makes for shorter code, possibly increased functionality, but makes it more difficult to understand what behavior is being provided. • Inheritance may open to the door for unintended usage, by means of unintended inheritance of behavior. • Easier to change underlying details using composition (i.e., change the data representation). • Inheritance may permit polymorphism. • Understandability is a toss-up, each has different complexity issues (size versus inheritance tree depth). • Very small execution time advantage for inheritance.
  • 11. Introduction Forms of Polymorphism Summary References REFERENCES • Images and content for developing these slides have been taken from the follwoing book with the permission of the author. • An Introduction to Object Oriented Programming, Timothy Budd. • This presentation is developed using Beamer: • Singapore, beaver.