HELPIDO.COMCLICK HERE TO GET THE SOLUTION !!!!!!PRG/421 Java Programming II - Week 3DISCUSSION QUESTION # 1Think of a programming task—other than the individual or team assignments in this course—inwhich you would choose to use an exception handler. Write the code for the try-catch block. Explainthe activity and your code.DISCUSSION QUESTION # 2Think of a programming task—other than the individual or team assignments in this course—inwhich you would choose to use a data file. Write the code to read or write the file. Explain theactivity and your code.DISCUSSION QUESTION # 3What are the advantages and disadvantages of sequential and random access files?Provide an example in which a sequential file is a better choice than a random access file. Explainwhy.Provide an example in which a random access file is better than a sequential file. Explain why.LEARNING TEAMCreate a GUI-based program to accept name of donor, name of charity, and amount of pledge fromthe user.Display a list of entries in a JTextArea or JTable.Submit the .java source file for this program.INDIVIDUAL ASSIGNMENTThis is a two-part assignment.Part 1Design, implement, test, and debug a program with a JFrame that allows the user to enter a seriesof contacts’ names, ages, e-mail addresses, and cell phone numbers, and creates a file from the
entered data. Validate the age entry to ensure that it is numeric and between 0 and 120. Includeinformation for three to five contacts.Part 2Design, implement, test, and debug a program that reads the file you created by the list in Part 1and displays the records in a JFrame. You may either display all entries in the list at once or displaythem one at a time; the user interface is up to you. Protect against not being able to open the file.CLICK HERE TO GET THE SOLUTION !!!!!!