If a member function of a class already provides all or part of the functionality required by a constructor or another member function then:

a. Copy and paste that member function’s code into this constructor or member function.
b. Call that member function from this constructor or member function.
c. That member function is unnecessary.
d. This constructor or member function is unnecessary.

b. Call that member function from this constructor or member function.

Computer Science & Information Technology

You might also like to view...

Data warehousing is a technology used to establish business intelligence

Indicate whether the statement is true or false

Computer Science & Information Technology

The most common way for a virus to spread is by __________

a. Use of your email contacts b. Scanning your computer for network connections and copying itself to other machines on the network c. Locating Linux machines d. None of the above

Computer Science & Information Technology