Professional Documents
Culture Documents
MC0066A Unit 1 Lecture 1
MC0066A Unit 1 Lecture 1
Semester : II
Subject Code : MC 0066A
Subject Name : OOPS Using C++
Unit Number :1
Unit Title : Introduction to OOP & C++
Lecture Number :2
Lecture Title : Introduction to OOP & its
basic features
1
HOME NEXT
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
• Introduction to OOP
C o n f i d e n t iNEXT
PREVIOUS al
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Objects
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Classes
together as class.
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Encapsulation
manufacturer, model and its properties like go, stop, turn left etc.
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Inheritance
• Allows to derive a class from an existing class and inherit all the
and the class Car in turn inherits from the class Light Motor
Vehicle
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Polymorphism
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Additional Resources
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Features of OOP
• Encapsulation
• Data Abstraction
• Inheritance
• Polymorphism
• Message Passing
• Extensibility
• Persistence
• Delegation
• Genericity
• Multiple Inheritance
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Features of OOP
Encapsulation
Supported by
comprises
Data abstraction
Single inheritance
Object C++
Oriented Polymorphism
Programming X
Paradigm
Persistence
Delegation
Genericity
Multiple inheritance
10
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Data Abstraction
• The technique of creating new data types that are well suited to
an application to be programmed is known as data abstraction.
11
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Multiple Inheritance
12
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Message Passing
13
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Extensibility
14
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Persistence
as persistence.
program.
15
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Delegation
PREVIOUS i d e n t i a NEXT
C o n f HOME l
Unit-1 Introduction to Object Oriented Programming (OOP) & C++
Genericity
• Such unknown data types (generic data type) are resolved at the
parameters.
templates.
17
C o n f i d e nHOME
PREVIOUS tial