Think you've got the conversion process down? Try converting each line of the following UML class into C++. As you convert each part of the UML diagram, check yourself by hovering the mouse pointer over the text of each line, beginning with "Car," to see the corresponding C++ code.
Press "Next" below to see the complete C++ class.