You are on page 1of 16

At the end of this chapter you will

know the concepts of


Languages
Principles of OOPs
Real world and computer
software
Object factory
Object oriented
programming
High level languages
Principles of Object oriented
programming
Classes
Objects
Data
Encapsulation
Dynamic
Polymorphism
Inheritance
Abstraction
Hiding
Binding
Object
Unique identity which contains data
and functions (Characteristics and
behavior)
Characteristi
c:
Colour and
shape

Behavior
Write

Characteristics are considered as data members


Behavior is considered as functions
Classes
Class is a set of similar objects
Each object has its own attribute and
common behavior

Rainbow is a class that contains amplitude,


frequency, wavelength.
Objects are the different colors
Data Abstraction
Act of representing the essential
features without including the
background details
Encapsulation
Wrapping up of data and function
into a single unit called class is
encapsulation.

DATA + FUNCTION =
CLASS
Data Hiding
Data that cannot be directly
accessed outside the class although
they are available in the same
program.
Inheritance
Process by which objects of one class
can link and share some common
properties of objects from another
class. 9 9
Polymorphism
Process of using a function for more
than one purpose.
Dynamic Binding
Process to link the function call with
function signature during run time.
Object Factory
Class is a prototype of an object
Each objects has its own properties
and behavior
As the class produces objects of
similar type it is termed as object
factory
Message passing
Objects interact with each other
They share the common properties
and behavior
This concept is message passing
Question session
In OOP stress is given on _______
An _____ is an identifiable entity with some characteristics and
behavior
_________ is defined as a software bundle of variables and related
methods
The _____ of the object is represented through functions called
methods
A _____ is an object maker
Combining data and function to an single entity is called _______
Object acquiring the properties of another object is called ______
In procedural programming the stress is on _____
Set of objects that have common attributes and behavior is
called________
The values of data member or member variables at any given point of
time determine an objects ___________
Question answers
What is OOP ?
Name any two OOP languages
Name the principles of OOP
Define object
Object is an instance of the class explain
Define a class
What is data hiding
Which technique can we adopt for data hiding ?
What is polymorphism
What is message passing?
Why is class called as object factory
What are the characteristics of an object ?

You might also like