Write a program that will use WheelsFX shapes to create a Car. There is a size requirement; the Car should fit inside the box that appears on the start-up program. You will be able to change or refine your car over the next several assignments if you so choose. Be creative, your Car can also be something purely out of your imagination if you so choose. Pick one of your shapes. In English, what will you need to do to take it from the default that we get when we create the shape to what you need to build that part of your Car? Now take the shape that you wrote out in question 2 and now write what the Java code would be. Pretend that you were writing this program in C++ instead of Java. Take the code you wrote in question three and now re-write it to look like it would in C++. For the object, you must use a pointer variable. Looking at your answers for questions three and four, what differences do you see syntactically? What does this mean going forward for other objects we work with? The car contains 6 parts (wheels, body, etc.) The car uses 3 different kinds of shapes (Rectangle, Ellipse, etc.)
Write a
Pick one of your shapes. In English, what will you need to do to take it from the default that we get when we create the shape to what you need to build that part of your Car?
Now take the shape that you wrote out in question 2 and now write what the Java code would be.
Pretend that you were writing this program in C++ instead of Java. Take the code you wrote in question three and now re-write it to look like it would in C++. For the object, you must use a pointer variable.
Looking at your answers for questions three and four, what differences do you see syntactically? What does this mean going forward for other objects we work with?
The car contains 6 parts (wheels, body, etc.) The car uses 3 different kinds of shapes (Rectangle, Ellipse, etc.)

Trending now
This is a popular solution!
Step by step
Solved in 2 steps









