Which of the following statements about inheriting base class constructors is false?
a. To inherit a base class’s constructors, you write the following line of code in the derived class definition
(BaseClass is the base class’s name):
using BaseClass::BaseClass;
b. If an inherited base-class constructor has default arguments, the line of code in Part (a) causes the compiler to
generate a derived-class constructor with the same default arguments.
c. By default, each inherited constructor has the same access level (public, protected or private) as its
corresponding base-class constructor.
d. If the derived class does not explicitly define constructors, the compiler generates a default constructor in the
derived class—even if it inherits other constructors from its base class.
b. If an inherited base-class constructor has default arguments, the line of code in Part (a) causes the compiler to
generate a derived-class constructor with the same default arguments.
You might also like to view...
A network technician is deploying mobile phones for a company's sales staff. Salespeople frequently travel nationally and internationally to meet with clients, and often have to roam or switch cellular providers. Which of the following standards is the BEST option to fit the requirements?
A. GSM B. TDM C. CDMA D. PSTN E. MIMO
ColdFusion is one programming language that can be used to create server-side code.
Answer the following statement true (T) or false (F)