SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Characteristics of OOPS
Characteristics of OOPS Characteristics of OOPS
Characteristics of OOPS abhishek kumar
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Conceptsthinkphp
 
Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++Muhammad Waqas
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVAAbhilash Nair
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++Ankur Pandey
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaCPD INDIA
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented ProgrammingIqra khalil
 
Java Data Types
Java Data TypesJava Data Types
Java Data TypesSpotle.ai
 
Principles and advantages of oop ppt
Principles and advantages of oop pptPrinciples and advantages of oop ppt
Principles and advantages of oop pptdaxesh chauhan
 
Function overloading(c++)
Function overloading(c++)Function overloading(c++)
Function overloading(c++)Ritika Sharma
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming languageMd.Al-imran Roton
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingAmit Soni (CTFL)
 
Class and Objects in Java
Class and Objects in JavaClass and Objects in Java
Class and Objects in JavaSpotle.ai
 

Mais procurados (20)

Data types in java
Data types in javaData types in java
Data types in java
 
Characteristics of OOPS
Characteristics of OOPS Characteristics of OOPS
Characteristics of OOPS
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 
Java threads
Java threadsJava threads
Java threads
 
Object Oriented Programming Using C++
Object Oriented Programming Using C++Object Oriented Programming Using C++
Object Oriented Programming Using C++
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVA
 
Managing I/O in c++
Managing I/O in c++Managing I/O in c++
Managing I/O in c++
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
OOP java
OOP javaOOP java
OOP java
 
Constructor ppt
Constructor pptConstructor ppt
Constructor ppt
 
Java Data Types
Java Data TypesJava Data Types
Java Data Types
 
Principles and advantages of oop ppt
Principles and advantages of oop pptPrinciples and advantages of oop ppt
Principles and advantages of oop ppt
 
Oops ppt
Oops pptOops ppt
Oops ppt
 
Function overloading(c++)
Function overloading(c++)Function overloading(c++)
Function overloading(c++)
 
OOP Introduction with java programming language
OOP Introduction with java programming languageOOP Introduction with java programming language
OOP Introduction with java programming language
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Class and Objects in Java
Class and Objects in JavaClass and Objects in Java
Class and Objects in Java
 

Destaque (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
 

Semelhante 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
 

Semelhante 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

Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.raviapr7
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxraviapr7
 
M-2- General Reactions of amino acids.pptx
M-2- General Reactions of amino acids.pptxM-2- General Reactions of amino acids.pptx
M-2- General Reactions of amino acids.pptxDr. Santhosh Kumar. N
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational PhilosophyShuvankar Madhu
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxraviapr7
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxKatherine Villaluna
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesMohammad Hassany
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
CAULIFLOWER BREEDING 1 Parmar pptx
CAULIFLOWER BREEDING 1 Parmar pptxCAULIFLOWER BREEDING 1 Parmar pptx
CAULIFLOWER BREEDING 1 Parmar pptxSaurabhParmar42
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17Celine George
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfMohonDas
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...Nguyen Thanh Tu Collection
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptxSandy Millin
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsEugene Lysak
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapitolTechU
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17Celine George
 

Último (20)

Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptx
 
M-2- General Reactions of amino acids.pptx
M-2- General Reactions of amino acids.pptxM-2- General Reactions of amino acids.pptx
M-2- General Reactions of amino acids.pptx
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational Philosophy
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptx
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming Classes
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
CAULIFLOWER BREEDING 1 Parmar pptx
CAULIFLOWER BREEDING 1 Parmar pptxCAULIFLOWER BREEDING 1 Parmar pptx
CAULIFLOWER BREEDING 1 Parmar pptx
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdf
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George Wells
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptx
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17
 

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