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

1) The protected members of a class may be accessed in their base class or
any classes derived from that base class.
2) The first task of any derived-class constructor is to call its base-class
constructor.
3) A "copy-and-paste" approach is a simple and efficient way from a
software-engineering perspective of providing functionality that exists in other classes.
4) Using protected instance variables can cause derived-class methods to
be written to depend on base-class implementation.


1) T
2) T
3) F
4) T

Computer Science & Information Technology

You might also like to view...

Word provides preformatted cover pages on the ________ tab

Fill in the blank(s) with correct word

Computer Science & Information Technology

A line is a(n) ________ control that can be moved and resized like any other control on the report

Fill in the blank(s) with correct word

Computer Science & Information Technology

You do NOT need to delete unwanted sample data from the worksheet because it does not display in the chart

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following statements is correct? The client-server model

A. is best suited to the token-ring topology because the random-access method used by this model detects data collisions. B. distributes both data and processing tasks to the server's node. C. is most effective used with a bus topology. D. is more efficient than the bus or ring topologies.

Computer Science & Information Technology