R
rakoo
I want to question about this virtual keyword , what is neccessty of it
..
when base class ponter or simply object assingned to derived class
object ,we never want
that base class funtion by base class object or pointer which pointing
to derived class object
Are we ?
then why stroupstrop has given this keyword
can't we handle this situation
if base class pointing to derived class automatically use run time
binding or make every funtion virtual automaticaly if it involves
inheritance .
Rakesh Kushwaha
..
when base class ponter or simply object assingned to derived class
object ,we never want
that base class funtion by base class object or pointer which pointing
to derived class object
Are we ?
then why stroupstrop has given this keyword
can't we handle this situation
if base class pointing to derived class automatically use run time
binding or make every funtion virtual automaticaly if it involves
inheritance .
Rakesh Kushwaha