Answer the following statements true (T) or false (F)

1) When a program creates a derived-class object, the object constructor is
the last constructor called and the first whose body finishes executing.
2) If a base class constructor is overridden, the original constructor can no
longer be called explicitly by the derived class.
3) When a base class method is overridden in a derived class, it is common
to have the derived class version call the base class version and do some additional work.
4) Inheritance preserves the integrity of a base class.

1) T
2) F
3) T
4) T

Computer Science & Information Technology

You might also like to view...

The most common printer used in schools and businesses is the ________ printer

A) inkjet B) thermal C) laser D) photo

Computer Science & Information Technology

Which of these is primarily an ergonomic device?

A. adjustable chair B. footrest C. document holder D. all of these

Computer Science & Information Technology