Basic concepts of OOPs
Introduction:
Object oriented programming is a principal of design and development of programs using
modular approach.
Some of object oriented programming languages are JAVA,C++ and C# etc.
Basic concepts/characteristics of OOPs.
1. Objects
2. Classes
3. Data abstraction
4. Data encapsulation
5. Inheritance
6. Overloading
7. Polymorphism
8. Dynamic binding
9. Message passing
Objects:
Objects are basic building blocks for designing programs.
An object can be defined as an identifiable entity that has data and associated functions.
Every object has to be given the unique name.
examples:
An object may represent a person, place or a table of data.
Objects are saved in memory and associated with address.
During execution of program objects will communicate with each other by sending message to
one another.
Examples:
Object-car
data Color
Opendoor()
Reg no
Switchonengine()
year
Applyclutch()
functions
Introduction:
Object oriented programming is a principal of design and development of programs using
modular approach.
Some of object oriented programming languages are JAVA,C++ and C# etc.
Basic concepts/characteristics of OOPs.
1. Objects
2. Classes
3. Data abstraction
4. Data encapsulation
5. Inheritance
6. Overloading
7. Polymorphism
8. Dynamic binding
9. Message passing
Objects:
Objects are basic building blocks for designing programs.
An object can be defined as an identifiable entity that has data and associated functions.
Every object has to be given the unique name.
examples:
An object may represent a person, place or a table of data.
Objects are saved in memory and associated with address.
During execution of program objects will communicate with each other by sending message to
one another.
Examples:
Object-car
data Color
Opendoor()
Reg no
Switchonengine()
year
Applyclutch()
functions