Multiple choice

Class definition is terminated by

  1. @

  2. !

  3. :

  4. ;

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In C++, class definitions (like struct definitions) must end with a semicolon after the closing brace. This terminates the declaration statement.