QuizIntermediate

Defining A Class And Creating Objects

Learn how to define a C++ class and instantiate objects from it.

Given the class definition below, which statement correctly creates an object of this class on the stack? class Car { public: int speed; void drive(); };