posted 20 years ago
Both the base class and derived class contructors invoke the method call()..
since it is overridden in the derived class, and u r creating an object of the derived class, the derived class's call() method will be called twice.
The first time, an object of Q05 is not yet created and b value is not initialized to 16.
So 0 is printed.
[ March 27, 2003: Message edited by: Rajeshwari Natarajan ]
regards<br />Rajeshwari. N