Is it better to enter the code for a class in a header file? Why or why not?

What will be an ideal response?


Yes, by entering the code for the class definition into a header file, you can then use the class to create objects in any program that contains the appropriate #include directive.

Computer Science & Information Technology

You might also like to view...

The __________ algorithm, developed in 1977, was the first public-key encryption algorithm published for commercial use.

A. DES B. RSA C. MAC D. AES

Computer Science & Information Technology

What field property forces data to follow certain rules of data entry?

A. Validation Rule B. Validation Text C. Format D. Required

Computer Science & Information Technology

Which is the preferred method for resizing a picture so that it keeps its proportions?

What will be an ideal response?

Computer Science & Information Technology

Which of the following wireless standards can transmit data up to 540Mbps?

A. 802.11a B. 802.11b C. 802.11g D. 802.11n

Computer Science & Information Technology