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

1. Multiple public: and private: sections are prohibited in a class.

2. A sure test of whether you have succeeded in producing an Abstract Data Type (whether you have truly separated the interface from the implementation) is whether you can use the ADT then change either the implementation or the client code without being required to change the other.

1. False
Explanation: The keywords public: and private: have effect that runs up to the next instance of one of these keywords. There is no prohibition against having a sequence of private section after a public section and so on.
2. True
Explanation: This is the definition of ADT.

Computer Science & Information Technology

You might also like to view...

When using an append query, the ________ table is the table from which records are being extracted

A) source B) destination C) static D) extraction

Computer Science & Information Technology

In the Goal Seek dialog box, the cell reference of the desired value is entered in the ________ box

A) By changing cell B) Set cell C) Column input cell D) To value

Computer Science & Information Technology