Question: Please help Specifications -Use arrays in this project; ArrayLists are not allowed! Overview: The objective is to modify your previous project to use arrays instead
Specifications -Use arrays in this project; ArrayLists are not allowed! Overview: The objective is to modify your previous project to use arrays instead of Array List objects, You will write a program this week that is composed of three classes: the first class defines ConicalFrustum objects, the second class defines ConicalFrustumList2 objects, and the third, ConicalFrustumList2MenuApp, presents a menu to the user with eight options and implements these: (1) read input file (which creates a ConicalFrustumList2 object), (2) print report, (3) print summary (4) add a ConicalFrustum object to the ConicalFrustumList2 object, (5) delete a ConicalFrustum object from the ConicalFrustumList2 object, (6) find a ConicalFrustum object in the ConicalFrustumList2 object, (7) Edit a ConicalFrustum in the ConicalFrustumList2 object, and (8) quit the program. IYou should create a new project folder and copy your previous project files ConicalFrustum.java, Conical FrustumList.java, ConicalFrustumListMenuApp.java, conical frustum data1.txt, and conical frustum data 0.txt) to it, rather than work in the same folder as the previous project.] xisting.iava file. open the file in jGRASP, change the name of the class and the name of the constructor (if it has one) in the source file, and then click the Save button. ick the Rename and Save" button. This will rename and save the o renam In the dialog that pops up, el java file and delete the old associated.class file. Requirements: Create a ConicalFrustum class that stores the label, radius of top, radius of bottom, and height where the radii and height are non-negative. The ConicalFrustum class also includes methods to set and get cach of these fields, as well as methods to calculate the volume, slant height, lateral surface area, and total surface area of a ConicalFrustum object, and a method to provide a String value that describes a ConicalFrustum object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
