|
Function Overloading
Here we have overloaded the function ‘area ( )’ to perform three operations- find area of squar
|
Template Example
RETURNING MORE THAN ONE VALUE
|
Virtual Functions II
Virtual Function
The concep
|
Virtual Functions I
Virtual Function
This concept is used to achieve r
|
Polymorphism
The word ‘Polymorphism’ has been made by using two Greek words- ‘Poly’ and ‘Morphism’
|
Function - Call by address
In this
|
Basic Concepts - Data
The
term ‘Data’ refers to a value or set of values. These values may
represent some abbrevi
|
Single Inheritance
It is t
|
What is Object
An object is used to represent real world entities, such as person, p
|
Function in c++
Function
is a part of program that performs a particular task whenev
|
Desctructor in c++
It is a special member function which is used to destroy the object
that is it is used to take b
|
Function - Call by value
In this method the values of the actual arguments are copied to the formal arguments.
|
Hierarchical Inheritance
It is the process of deriving two or more classes from single base
class. And in turn each of the
|
Class
A class is a group of objects that have common properties and common
|
Operator Overloading
From
the word overloading we mean that to give some new meaning to a thing.
In this process the ol
|
Abstraction
A bstraction means to hide the internal details and show only essential features
to
|
Inheritance
The word inheritance means to pass on the features of one generation to the next.
|
Function - Call by reference
In this method the reference variables of the actual arguments are created as formal
|
Constructor
Definition: It is a special member function which is used to give initial values automatically
|
Multiple Inheritance
It is the process of deriving only one new class from multiple base cl
|
Function Overloading
In it we can use the same function name to create functions that
perform different tasks. By usi
|
Encapsulation and Data hiding
Encapsulation means to put different things in a capsule i.e. single
|
Hierarchical Inheritance
It is the process of deriving two or more classes from single base class. And in turn each of the de
|