C++ examples for Class:Class Creation
A Class Definition
class Car { };
Creating a Car Variable
class Car/* w w w. ja v a 2s . co m*/ { }; int main(int argc, char* argv[]) { Car myCar; return 0; }