Which statement is true about classes?

A. The class declaration should be contained in a .cpp file.
B. An error will occur if the function is written within the class declaration.
C. The class function definitions (source code) should be placed in the .cpp file.
D. Class declarations and definitions (source code) should not be separated into different files.


C. The class function definitions (source code) should be placed in the .cpp file.

Computer Science & Information Technology

You might also like to view...

The ________ SmartArt category is used to show steps in a workflow

A) Process B) Relationship C) Picture D) Pyramid

Computer Science & Information Technology

____ is a specialized language used for working with databases.

A. JavaScript B. SQL C. ColdFusion D. HTML

Computer Science & Information Technology

By convention the first letter of user-selected structure type names is lowercase.

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

Computer Science & Information Technology

Which statement is correct?

A. compiled programs are very susceptible to unauthorized modification B. the source program library stores application programs in source code form C. modifications are made to programs in machine code language D. the source program library management system increases operating efficiency

Computer Science & Information Technology