Suppose class Child is derived from class Parent that was in turn derived from class GrandParent. When we declare an object of class Child, three constructors are called: i) Child, ii) Parent, iii )GrandParent.. What is the order?

a) Child, Parent, GrandParent
b) Parent, GrandParent, Child
c) GrandParent, Child, Parent
d) GrandParent, Parent, Child
e) GrandParent, Child, Parent

c) GrandParent, Child, Parent

Computer Science & Information Technology

You might also like to view...

The ________ backup is an exact copy of a hard drive and can be used to completely restore a computer if the hard drive fails

A) Complete B) System Image C) Full D) System Restore

Computer Science & Information Technology

Choosing outstanding hyperlink images or text allows a speaker to glance at a slide and receive a visual cue that it contains a hyperlink.

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

Computer Science & Information Technology