Answer the following statements true (T) or false (F)
1) The derived class inherits all the attributes and methods of its base class.
2) A derived class must define a constructor that calls the base class’s constructor.
3) All base classes of a derived class are explicitly listed inside parentheses when the derived class is defined.
4) To use an object of another class, a class must inherit from that class.
5) A derived class uses only the base-class methods that it overrides.
1) T
2) F
3) F
4) F
5) F
You might also like to view...
A target value is a calculated field that resolves to a value
Indicate whether the statement is true or false.
Which of the following is not a function of the Network Access layer?
A. transmits and receives bit signals B. delivers packets efficiently C. provides a MAC address for the network interface D. receives packets from the Internetwork layer and creates a frame