Basic Object Oriented Concepts: Name: Vinod Pillai Email
Basic Object Oriented Concepts: Name: Vinod Pillai Email
Basic Object Oriented Concepts: Name: Vinod Pillai Email
vinodthebest@gmail.com
Software Evolution
Software Evolution
C vs C++
C vs C++
Procedure-Oriented Programming
Structure of Procedure-oriented
Main Program
Function 1
Function 4
Function 2
Function 3
Function 5
Procedure-Oriented Programming
Procudure-oriented
programming
basically
consists of writing a list of instructions for the
computer to follow and organizing these
instructions into groups known as functions.
Structure of Procedure-oriented
Global data
Function 1
Local data
Global data
Function 2
Function 3
Local data
Local data
Procedure-Oriented Programming
Object-Oriented Programming
Object B
Object A
Object B
Data
Data
Functions
Functions
Object C
Data
Functions
Object-oriented programming
Objects
Class
Data Abstration
Data Encapsulation
Inheritance
Polyomorphism
Dynamic binding
Message Passing
Objects
Objects
Object: STUDENT
DATA
Name
Marks
FUNCTIONS
Total
Display
Classes
Classes
fruit f1;
Encapsulation
hiding.
Data Abstraction
Inheritance
Inheritance
Flying Bird
No flying Bird
Polymorphism
Polymorphism
operator overloading.
Dynamic Binding
It is associated
inheritance.
with
polymorphism
and
Message Communication
message
information
Benefits of OOP
Benefits of OOP
Object-Oriented Languages
Data encapsulation
Operator overloading
References
Object-Oriented
Balagurusamy
Programming
with
C++
by