Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Refer to Program Challenge #6 found on page 1118 of the text. Use the program specifications as a basis for the project but include the

Refer to Program Challenge #6 found on page 1118 of the text.

Use the program specifications as a basis for the project but include the following modifications: Use a JOptionPane to prompt the user for an input file name. If the file doesn't exist or is empty, display an error message using a JOptionPane and quit. Use try-catch blocks to trap and handle exceptions. Include Javadoc documentation at the class and method levels. Develop the UML diagram for the class Include a public static void main(String[]) method in the class and use it as a driver module to create an instance of the class and to test the various instance methods. Use JOptionPane for user input and to display all normal program output. Programming Challange #6 Download the Chapter 17 source code , and, you will find a text file by the name of 'names.txt'. This file contains a list of the 65 most popular female first names in the United States according to the 1990 census. Write a program that reads these names into a String array. Use the Quicksort algorithm to sort the names in ascending order. Then allow the user to search for a name in the array. Use the binary search algorithm to perform the search. Use a JOptionPane to prompt the user for an input file name. If the file doesn't exist or is empty, display an error message using a JOptionPane and quit. Use try-catch blocks to trap and handle exceptions. Include Javadoc documentation at the class and method levels. Develop the UML diagram for the class Include a public static void main(String[]) method in the class and use it as a driver module to create an instance of the class and to test the various instance methods. Use JOptionPane for user input and to display all normal program output. The UML diagram

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

For a sample of n = 6, list the six Z values.

Answered: 1 week ago

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago