Growth of Literacy in Kerala: State Intervention, Missionary Initiatives and Social
Author(s): E. T. Mathew
Source: Economic and Political Weekly, Vol. 34, No. 39 (Sep. 25 - Oct. 1, 1999), pp. 28112820
Published by: Economic and Political Weekly
Format No. QSP/7.1/01.F01 (B)
Issue No.04 Rev. No 4 Dated: June 7, 2014
UNIVERSITY OF PETROLEUM & ENERGY STUDIES
College of Engineering Studies
:B. Tech. (CSE) IBM-All branches
: Advanced Data Structures LAB
using namespace std;
static int count;
cout<"Default constructor called with id "<id<endl;
Inheritance so far,
Inheritance has been used to add functionality
to an existing class.
Lets consider an example where inheritance is
used as part of the original design of a
Our example models a database of employee
What is the purpose of Inheritance?
Extending the functionality of an existing
sharing commonality between two or
Improved efficiency and greater
Plays a major part in polymorphism
UNIT 1 Part 6
A structure is a collection of simple variables.
Variables can be of different type (int, char,
Data items in a structure are called members
of the structure.
Its a kind of blueprint specifying what
information is n
UNIT 1 Part 3
class car cfw_
void acceptprice() cfw_
void display() cfw_
UNIT 1 PART 1
1.1 Object Oriented Methodology
Most physical entities in this universe involve
varying degrees of complexity.
Magnetic tape(information storage)
Raw electric power
Design of jet t
UNIT 1 part 2
World is full of complex objects.
Same way, Software is also complex.
Software complexity factors.
System breakdown into objects(components).
Message and methods.
OO Approach Benefits.
Analysis, Design and
UNIT Part 5
Default Argument, Scope and
Storage, Returning by Reference
A function can be called without specifying all
Function declaration must provide default
values for arguments.
Lets see an example(ref