Solved

Given That the Lap_Top Class Derives from Computer Class, Which

Question 14

Multiple Choice

Given that the Lap_Top class derives from Computer class, which of the following pointer declarations is legal?


A) Lap_Top* a_laptop = new Computer( ... ) ;
B) Computer* a_computer = new Lap_Top( ... ) ;
C) Lap_Top* a_laptop = Computer( ... ) ;
D) *a_computer = new LapTop( ... ) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions