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...
A ________ is a line whose points can be determined using a mathematical formula
A) trendline B) pointline C) graphline D) chartline
Computer Science & Information Technology
Answer the following questions true (T) or false (F)
1. The Java programming language allows you to concatenate two strings using the plus sign. 2. Java is an interpreted language.
Computer Science & Information Technology