Question: Hi there, I need help with this assignment. It is for my java programming class. I really don't know where to start. Below I posted

Hi there, I need help with this assignment. It is for my java programming class. I really don't know where to start. Below I posted all of the info that I have. Thank you in advance

You will be developing a phone record analysis program as described below. Your program reads phone call information from a text file name phoneCalls.txt. Each record in the file has the following format 480-678-1234/10/10-08-2017/Josh William/2.45

First string of numbers is the destination number, followed by the duration, call date, callee name, and cost.

Program reads record at a time from the file and generates an array list of phone call objects. The phone call object has the destination phone number, duration, call date, callee name (person who called by the caller), and the cost of the call. You can add required methods phone call object based on your design.

Once the object is created, it will be placed in an array list called phone calls. Then, your program can perform following operations

A) Search a call based on the destination number

B) Display the longest call information

C) Display the shortest call information

D) Sort the phone calls array list based on the call duration and display calls in the

sorted order (display the destination phone number and the duration)

E) Prepare a phone bill and store the phone bill in the phone bill.txt file. Format

of the phone_bills.txt is given below.

F) Exit the program

Destination Number 480-678-1234 602-578-1000

. . .

Total: $

Duration (m) 10

12

Cost ($) 2.50 3.15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!