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) c)
Explanation: The public member function declarations and commentary should be sufficient to use the class.

Computer Science & Information Technology

You might also like to view...

Which of the following is true of Software as a Service (SaaS)?

a. It focuses on application delivery. b. It focuses on the software external to the data center that exists on top of the software infrastructure. c. It focuses on the virtual network component and delivery. d. It focuses on application development and storage.

Computer Science & Information Technology

Another name for commercial software is ________ software

Fill in the blank(s) with correct word

Computer Science & Information Technology

Spacing for characters can be previewed in the ________ dialog box

A) Character B) Font C) Paragraph D) Spacing

Computer Science & Information Technology

What contiguous IP subnet will meet the following requirements: 3 subnets that will support a maximum of 2000 hosts, 3 subnets that will support a maximum of 300 hosts, and 40 subnets that will support a maximum of 6 hosts?

A) 192.168.0.0 /20 B) 192.168.32.0 /22 C) 192.168.96.0 /19 D) 192.168.128.0 /21 E) None of the above

Computer Science & Information Technology