SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
C++ OOPS Concept
Boopathi K
Amrita University
boopathi@boopathi.me

February 5, 2014

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

1 / 12
Features of Object Oriented Programming
1

Objects

2

Classes

3

Abstraction

4

Encapsulation

5

Inheritance

6

Polymorphism

7

Overloading

8

Exception Handling

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

2 / 12
Object Oriented Programming

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

3 / 12
OBJECTS

Objects are basic unit of OOP.
They are instance of a class.
Consists of various data members and member functions.
These data types and member functions are bundled together as a
unit is called objects.

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

4 / 12
Classes

It is similar to Structure in C.
Class is user defined data type.
It holds own data members and member functions.
Class can be accessed and used only by instance of that class.
It is basically blueprint for object.

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

5 / 12
ABSTRACTION

Definition
A model complex of a system that includes only the details essential to
perspective of the viewer of the system.
An Abstraction is a model of a complex system that includes only the
essential details.
Abstractions are the fundamental way that we manage complexity.
Helps to manage complexity of a large system.
Support our quality goals of modifiability and reusability.

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

6 / 12
Encapsulation

It can be said Data binding.
It binds variables and functions together inside a class.
Object Oriented Programming provides you to place, data and
relevant functions together in the same object.

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

7 / 12
Inheritance
Code reusability.
Process of forming new class from an existing class.
Inherited class is called Base class.
class which inherits is called Derived class.

Pros
Helps to reduce code size.

Types of Inheritance in c++
Single inheritance.
Multiple inheritance.
Hierarchical inheritance.
Multilevel inheritance.
Hybrid inheritance.
Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

8 / 12
Polymorphism

It makes the code More readable.
Function with same name but different arguments.
Functioning is different.
Poly refers to many.

Types of Polymorphism
Compile time Polymorphism.
Run time polymorphism.

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

9 / 12
Overloading

It is a part of Polymorphism. Existing function or operator is made to
operate on new data type.

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

10 / 12
Exception Handling

It is part of Object Oriented Programming Concept.
Used to handle unresolved exception or errors during runtime.

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

11 / 12
Thank You

Boopathi K (Amrita Vishwa Vidyapeetham)

OOPS Concept

February 5, 2014

12 / 12

Más contenido relacionado

La actualidad más candente

Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++Muhammad Waqas
 
Class and object in C++
Class and object in C++Class and object in C++
Class and object in C++rprajat007
 
Characteristics of OOPS
Characteristics of OOPS Characteristics of OOPS
Characteristics of OOPS abhishek kumar
 
Virtual base class
Virtual base classVirtual base class
Virtual base classTech_MX
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented ProgrammingIqra khalil
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programmingAmar Jukuntla
 
Classes and objects
Classes and objectsClasses and objects
Classes and objectsNilesh Dalvi
 
class and objects
class and objectsclass and objects
class and objectsPayel Guria
 
Basics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonBasics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonSujith Kumar
 
Introduction to oops concepts
Introduction to oops conceptsIntroduction to oops concepts
Introduction to oops conceptsNilesh Dalvi
 
Polymorphism in c++(ppt)
Polymorphism in c++(ppt)Polymorphism in c++(ppt)
Polymorphism in c++(ppt)Sanjit Shaw
 
Functions in python slide share
Functions in python slide shareFunctions in python slide share
Functions in python slide shareDevashish Kumar
 
Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programmingSachin Sharma
 
Operator Overloading
Operator OverloadingOperator Overloading
Operator OverloadingNilesh Dalvi
 
Java package
Java packageJava package
Java packageCS_GDRCST
 

La actualidad más candente (20)

Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++
 
Class and object in C++
Class and object in C++Class and object in C++
Class and object in C++
 
Characteristics of OOPS
Characteristics of OOPS Characteristics of OOPS
Characteristics of OOPS
 
Virtual base class
Virtual base classVirtual base class
Virtual base class
 
Object-oriented concepts
Object-oriented conceptsObject-oriented concepts
Object-oriented concepts
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
 
Classes and objects
Classes and objectsClasses and objects
Classes and objects
 
OOPS Basics With Example
OOPS Basics With ExampleOOPS Basics With Example
OOPS Basics With Example
 
C++ Overview PPT
C++ Overview PPTC++ Overview PPT
C++ Overview PPT
 
class and objects
class and objectsclass and objects
class and objects
 
Basics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonBasics of Object Oriented Programming in Python
Basics of Object Oriented Programming in Python
 
Pointers in c++
Pointers in c++Pointers in c++
Pointers in c++
 
Introduction to oops concepts
Introduction to oops conceptsIntroduction to oops concepts
Introduction to oops concepts
 
Polymorphism in c++(ppt)
Polymorphism in c++(ppt)Polymorphism in c++(ppt)
Polymorphism in c++(ppt)
 
Functions in python slide share
Functions in python slide shareFunctions in python slide share
Functions in python slide share
 
Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programming
 
Structure in C
Structure in CStructure in C
Structure in C
 
Operator Overloading
Operator OverloadingOperator Overloading
Operator Overloading
 
Java package
Java packageJava package
Java package
 

Destacado (20)

OOPS IN C++
OOPS IN C++OOPS IN C++
OOPS IN C++
 
Data types
Data typesData types
Data types
 
C++ Language
C++ LanguageC++ Language
C++ Language
 
C++ Function
C++ FunctionC++ Function
C++ Function
 
Dacj 1-1 b
Dacj 1-1 bDacj 1-1 b
Dacj 1-1 b
 
Basics of c++ Programming Language
Basics of c++ Programming LanguageBasics of c++ Programming Language
Basics of c++ Programming Language
 
Chapter 6 OOPS Concept
Chapter 6 OOPS ConceptChapter 6 OOPS Concept
Chapter 6 OOPS Concept
 
Sql
SqlSql
Sql
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015
 
Oop
OopOop
Oop
 
Andrealozada
AndrealozadaAndrealozada
Andrealozada
 
Inheritance
InheritanceInheritance
Inheritance
 
Lecture 4 software process model (2)
Lecture 4   software process model (2)Lecture 4   software process model (2)
Lecture 4 software process model (2)
 
Hierarchical inheritance
Hierarchical inheritanceHierarchical inheritance
Hierarchical inheritance
 
C++ Function
C++ FunctionC++ Function
C++ Function
 
inheritance in C++
inheritance in C++inheritance in C++
inheritance in C++
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Inheritance
InheritanceInheritance
Inheritance
 
Trees
TreesTrees
Trees
 
EEE 3rd year oops cat 3 ans
EEE 3rd year  oops cat 3  ansEEE 3rd year  oops cat 3  ans
EEE 3rd year oops cat 3 ans
 

Similar a C++ OOPS Concept

oopsinvb-191021101327.pdf
oopsinvb-191021101327.pdfoopsinvb-191021101327.pdf
oopsinvb-191021101327.pdfJP Chicano
 
Oops in PHP By Nyros Developer
Oops in PHP By Nyros DeveloperOops in PHP By Nyros Developer
Oops in PHP By Nyros DeveloperNyros Technologies
 
Java OOPs Concepts.docx
Java OOPs Concepts.docxJava OOPs Concepts.docx
Java OOPs Concepts.docxFredWauyo
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesJessica Deakin
 
Introduction to oop using java
Introduction  to oop using java Introduction  to oop using java
Introduction to oop using java omeed
 
What is OOP_ (Object Oriented Programming) (1).pptx
What is OOP_ (Object Oriented Programming) (1).pptxWhat is OOP_ (Object Oriented Programming) (1).pptx
What is OOP_ (Object Oriented Programming) (1).pptxhreempandya
 
What is oops concept in java?
What is oops concept in java?What is oops concept in java?
What is oops concept in java?kanchanmahajan23
 
Introduction To OOPS - Principles And Advantages
Introduction To OOPS -  Principles And AdvantagesIntroduction To OOPS -  Principles And Advantages
Introduction To OOPS - Principles And AdvantagesSpotle.ai
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaMadishetty Prathibha
 

Similar a C++ OOPS Concept (20)

oopsinvb-191021101327.pdf
oopsinvb-191021101327.pdfoopsinvb-191021101327.pdf
oopsinvb-191021101327.pdf
 
Oops in vb
Oops in vbOops in vb
Oops in vb
 
Oops in PHP By Nyros Developer
Oops in PHP By Nyros DeveloperOops in PHP By Nyros Developer
Oops in PHP By Nyros Developer
 
Object oriented programing
Object oriented programingObject oriented programing
Object oriented programing
 
Research paper
Research paperResearch paper
Research paper
 
Java OOPs Concepts.docx
Java OOPs Concepts.docxJava OOPs Concepts.docx
Java OOPs Concepts.docx
 
130704798265658191
130704798265658191130704798265658191
130704798265658191
 
Java ppt
Java pptJava ppt
Java ppt
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) Languages
 
Ah java-ppt2
Ah java-ppt2Ah java-ppt2
Ah java-ppt2
 
Introduction to oop using java
Introduction  to oop using java Introduction  to oop using java
Introduction to oop using java
 
object oriented programming(oops)
object oriented programming(oops)object oriented programming(oops)
object oriented programming(oops)
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
 
What is OOP_ (Object Oriented Programming) (1).pptx
What is OOP_ (Object Oriented Programming) (1).pptxWhat is OOP_ (Object Oriented Programming) (1).pptx
What is OOP_ (Object Oriented Programming) (1).pptx
 
Concepts of oop1
Concepts of oop1Concepts of oop1
Concepts of oop1
 
What is oops concept in java?
What is oops concept in java?What is oops concept in java?
What is oops concept in java?
 
OOP
OOPOOP
OOP
 
Introduction To OOPS - Principles And Advantages
Introduction To OOPS -  Principles And AdvantagesIntroduction To OOPS -  Principles And Advantages
Introduction To OOPS - Principles And Advantages
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
 

Último

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 

Último (20)

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

C++ OOPS Concept

  • 1. C++ OOPS Concept Boopathi K Amrita University boopathi@boopathi.me February 5, 2014 Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 1 / 12
  • 2. Features of Object Oriented Programming 1 Objects 2 Classes 3 Abstraction 4 Encapsulation 5 Inheritance 6 Polymorphism 7 Overloading 8 Exception Handling Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 2 / 12
  • 3. Object Oriented Programming Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 3 / 12
  • 4. OBJECTS Objects are basic unit of OOP. They are instance of a class. Consists of various data members and member functions. These data types and member functions are bundled together as a unit is called objects. Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 4 / 12
  • 5. Classes It is similar to Structure in C. Class is user defined data type. It holds own data members and member functions. Class can be accessed and used only by instance of that class. It is basically blueprint for object. Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 5 / 12
  • 6. ABSTRACTION Definition A model complex of a system that includes only the details essential to perspective of the viewer of the system. An Abstraction is a model of a complex system that includes only the essential details. Abstractions are the fundamental way that we manage complexity. Helps to manage complexity of a large system. Support our quality goals of modifiability and reusability. Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 6 / 12
  • 7. Encapsulation It can be said Data binding. It binds variables and functions together inside a class. Object Oriented Programming provides you to place, data and relevant functions together in the same object. Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 7 / 12
  • 8. Inheritance Code reusability. Process of forming new class from an existing class. Inherited class is called Base class. class which inherits is called Derived class. Pros Helps to reduce code size. Types of Inheritance in c++ Single inheritance. Multiple inheritance. Hierarchical inheritance. Multilevel inheritance. Hybrid inheritance. Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 8 / 12
  • 9. Polymorphism It makes the code More readable. Function with same name but different arguments. Functioning is different. Poly refers to many. Types of Polymorphism Compile time Polymorphism. Run time polymorphism. Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 9 / 12
  • 10. Overloading It is a part of Polymorphism. Existing function or operator is made to operate on new data type. Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 10 / 12
  • 11. Exception Handling It is part of Object Oriented Programming Concept. Used to handle unresolved exception or errors during runtime. Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 11 / 12
  • 12. Thank You Boopathi K (Amrita Vishwa Vidyapeetham) OOPS Concept February 5, 2014 12 / 12