Given a class A that derives from a class B that derives from a class C, when an object of class A goes out of scope, in which order are the destructors called?

a. C, B, then A
b. A, B, then C
c. unable to determine
d. depends on how the code is written for the destructors

a. C, B, then A

Computer Science & Information Technology

You might also like to view...

Originally called microcomputers, _________ are designed to meet the computing needs of individuals.

A. mainframes B. personal computers C. microcomputers D. servers

Computer Science & Information Technology

Which is the most common information flow in an organization?

A) upward and horizontally B) downward and horizontally C) upward and vertically D) downward and vertically

Computer Science & Information Technology