Question: Add List : ( Name, phone number, amount, bill, rate) Create a Menu-Driven program using the ArrayList class using the same scenario to execute the
Add List : ( Name, phone number, amount, bill, rate)
Create a Menu-Driven program using the ArrayList class using the same scenario to execute the following operations as mentioned below. a. Create an object of ArrayList class based on the scenario with explanations of the method used. b. Create a method that will allow inserting an element to ArrayList Class based on the scenario. The user to enters the name, phone number, and the amount from the keyboard and include field validation wherever possible. c. Create a method, which allows two elements in the ArrayList to be swapped based on the given scenario with explanations of the method used. d. Create a method that allows you to convert the given list of values to a comma separated value (CSV) format based on the given scenario in the ArrayList with explanations of the method used.
Note: For the Java code, you must use proper naming convention and you need to briefly elaborate keywords, concept, and logic in your own words.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
