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

1.An object of a derived class can be stored in a base class variable
2. The derived class may define variables and member functions other than those that are in the base class.
3. The base class has everything that is in the derived class and more
4. The constructor for a class is inherited.
5. A derived class automatically gets all the member variables from the base class.

1. TRUE
2.TRUE
3. FALSE
4. FALSE
5. TRUE

Computer Science & Information Technology

You might also like to view...

A collection of items containing things such as data inputs, UI elements, and knowledge objects is known as what?

A. An app B. JSON C. A role D. An enhanced solution

Computer Science & Information Technology

How many Elastic IP by default in Amazon Account?

A. 1 Elastic IP B. 3 Elastic IP C. 5 Elastic IP D. 0 Elastic IP

Computer Science & Information Technology