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?


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...

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

1. A Swing program does not end until it encounters a System.exit statement. 2. When using the BorderLayout manager you must specify all five regions. 3. One of the main functions of JPanel objects is to subdivide a JFrame (or other container) into different areas. 4. Events and listeners for menu items are handled in exactly the same way as they are for buttons. 5. A JMenu can not be a menu item in another menu.

Computer Science & Information Technology

Resource Usage view shows each resource that has assigned tasks but you must switch views to see resource ID.

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

Computer Science & Information Technology

The recommended length for a resume for a student just graduating from college is one page or at the most two pages.

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

Computer Science & Information Technology

_______ is an animation engine used by Valve for its games and licensed for other game developers.

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

Computer Science & Information Technology