Question: Task #1 void Methods 1. Copy the file Geometry.java (Code Listing 5.1) from the Student Files or as directed by your instructor. This program will
Task #1 void Methods 1. Copy the file Geometry.java (Code Listing 5.1) from the Student Files or as directed by your instructor. This program will compile, but, when you run it, it doesnt appear to do anything except wait. That is because it is waiting for user input, but the user doesnt have the menu to choose from yet. We will need to create this. 2. Below the main method, in the Geometry class, create a static method called printMenu that has no parameter list and does not return a value. It will simply print out instructions for the user with a menu of options for the user to choose from. The menu should appear to the user as:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
