下述程序中语句完全不正确的一组语句是() class autom...
下述程序中语句完全不正确的一组语句是() class automover { int wheels; float weight; public: void initialize(int, float); int get_wheels(); float get_weight(){return weight;} }; void automover::initialize(int in_wheels, float in_weight) { wheels=in_wheels; weight=in_weight;} int automover::get_wheels(void){ return wheels; } void main() { automover car; automover.initialize(4, 3000.0); //① car.wheels=4; //② car.weight=3000.0; //③ car.initialize(4, 3000.0); //④ cout<<"\nthe car has> <<" wheels."; ⑤ car weighs> <<" pounds."; ⑥ car has> <<" wheels."; ⑦ car weighs> <<" pounds."; ⑧ }> A、①、②、③、④、⑤
B、①、②、③、⑤、⑥
C、②、③、④、⑤、⑥
D、①、②、④、⑦、⑧