class car{ //properties String my_make; String my_num; int mu_curPosx; int my_curPosY; int my_speed; void drive(){ //calling this will make the car move } void stop(){ //calling this will stop the car } }
- There should be a way to construct car right?