Of the interface file and the implementation file, which may be directly compiled?

a. Only the interface?
b. Only the implementation?
c. None of the above?
d. Some of the above? Which?


e)
Explanation: Only b), the implementation file, has function definitions, hence may be compiled. (While explicitly compiling a header file, such as file.h, is illegal, the implementation will necessarily #include the interface, so the interface will be compiled, but not directly.)

Computer Science & Information Technology

You might also like to view...

What cmdlet should you run if you want the OS on a virtual machine to begin shutting down?

A. set-vmstate B. stop-vm C. vm-down D. invoke-shutdown

Computer Science & Information Technology

What is Rarefactions?

What will be an ideal response?

Computer Science & Information Technology

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

Use the following structure to answer quesiton 1 – 5. ``` struct catType { string name; char gender; int age; bool friendly; }; ```

Computer Science & Information Technology

JavaFX classes ________ and ________ (package javafx.stage) display dialogs that enable the user to select a file or directory, respectively.

a. Files, Directories b. FileChooser, DirectoryChooser c. FileSelector, DirectorySelector d. None of the above.

Computer Science & Information Technology