When you defined a C++ class, which of the following should be part of the interface?

a) all declarations of private member variables
b) all declarations for public member functions
c) all explanatory comments for public member declarations.
d) all declarations for private member functions
e) all member function definitions (public or private)

b) all declarations for public member functions , and c) all explanatory comments for public member declarations.

The public member function declarations and commentary should be sufficient to use the class.

Computer Science & Information Technology

You might also like to view...

A(n) ____________________ Web site is one that is usable by all visitors, including those with disabilities or those using devices such as cell phones to access the site.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The objective of a _____ is to use the combined judgement and experience of several analysts to evaluate systems projects.

A. computer resources committee B. data storage committee C. system networking committee D. topology identification committee

Computer Science & Information Technology