Question
Design a class called Car that extends Group and presents the drawing of a car (side view). Use polygons, polylines and shapes to best represent
Design a class called Car that extends Group and presents the drawing of a car (side view). Use polygons, polylines and shapes to best represent a car (I recommend you draw this on paper and then identify the shapes as you need). Write a JavaFX application that will display the car. You need a total of 2 classes for this. The first class you create is a Car class and it will extend Group (it is-a Group). The second class CarDisplay will be the driver class with the start method and a main method. You should instantiate one Car object inside of your driver class and then add that Car group to the Scene.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started