Questions from Starting Out With Java


Q: Yummy Catering provides meals for parties and special events. In previous

Yummy Catering provides meals for parties and special events. In previous chapters, you have developed an Event class that holds catering event information. Now modify the Event class as follows: ❯❯ M...

See Answer

Q: Throughout the Case Problems in this course, you have been using

Throughout the Case Problems in this course, you have been using a Rental class that obtains all the data for rentals from Sunshine Seashore Supplies, including details about the contract number, leng...

See Answer

Q: Create a file that contains a line of your favorite song lyric

Create a file that contains a line of your favorite song lyric. Use a text editor such as Notepad, and save the file. Copy the file contents, and paste them into a word-processing program such as Word...

See Answer

Q: Write an application that determines which, if any, of the

Write an application that determines which, if any, of the following files are stored in the folder where you have saved the exercises created in this chapter: autoexec.bat, CompareFolders.java, FileS...

See Answer

Q: Create a program that allows a user to input customer records (

Create a program that allows a user to input customer records (ID number, first name, last name, and balance owed) and save each record to a file. Save the program as WriteCustomerList.java. When you...

See Answer

Q: Using a text editor, create a file that contains a list

Using a text editor, create a file that contains a list of at least 15 six-digit account numbers. Write a program that reads in each account number in the file, and display whether the account number...

See Answer

Q: Write an application that allows a user to enter a filename and

Write an application that allows a user to enter a filename and an integer representing a file position. Assume that the file is in the same folder as your executing program. Access the requested posi...

See Answer

Q: Create an application that allows you to enter student data that consists

Create an application that allows you to enter student data that consists of an ID number, first name, last name, and grade point average. Depending on whether the student’s grade point average is at...

See Answer

Q: The Rochester Bank maintains customer records in a random access file.

The Rochester Bank maintains customer records in a random access file. Write an application that creates 10,000 blank records and then allows the user to enter customer account information, including...

See Answer

Q: Write a program that allows you to create a file of customers

Write a program that allows you to create a file of customers for a company. The first part of the program should create an empty file suitable for writing a three-digit ID number, six-character last...

See Answer