Abstract class reference
- by AlgoMan
Can i have a class
Class Room{ ~Room(); virtual cost()
=0; }
Class Hotel{ map rooms; /*
*/ };
will my hotel become abstract ?
Can it hold the list of concrete Room objects that are derived from Room ?