Académique Documents
Professionnel Documents
Culture Documents
BEESHA.M
INH16CS017
•The project entitled ‘book store management
system ‘ is a software developed for managing a
book store.
INHERITANCE
EXECPTION HANDLING
For example,
the bird ‘robin’ is a part of the class ‘flying
bird’ which is again a part of the
class ‘bird’.
The principle behind this sort of division is
that each derived class shares common
characteristics with the class from which it
is derived. In OOP, the concept of
inheritance provides the idea of inheritance
provides the idea of reusability..
Programmers can dynamically allocate
storage space while the program is running,
but programmers cannot create new variable
names "on the fly", and for this reason,
dynamic allocation requires two criteria:
Creating the dynamic space in memory
Storing its address in a pointer (so that space
can be accessed)
If a C++ class have multiple member functions, having the
same name but different parameters (with a change in type,
sequence or number), and programmers can use them to
perform a similar form of operations, then it is known as
function overloading.