Question: Program Flow: Program gets dictionary file name as command line arguments. Program loads the lessons, words and meanings from the file. Program asks for the

Program Flow: Program gets dictionary file name as command line arguments. Program loads the lessons, words and meanings from the file. Program asks for the command. For add command, program will get the following data. If the word already exists in the dictionary for the specified lesson, program will generate exception. If the word for the lesson does not exist in the dictionary, lesson, word and meaning will be added to dictionary. Lesson: --- Word: Meaning: Dictionary MIS201 - credit - Credit is for MIS201. User enters MIS201 - credit - credit is test (You will create an exception.) User enters MISIO1 - credit - Credit is for MISIOL (You will add this data to dictionary.) For update command, program will get the word. If the word does not exist in the dictionary. program will generate exception. If the word exists in the dictionary, program will display lesson, word and meaning and ask for new meaning Program will update meaning only For delete command program will get the word. If the word does not exist in the dictionary program will generate exception. If the word exists in the dictionary, program will display word, lesson and meaning and ask if user is sure for delete operation, if user enters Y (YES), program will delete the word from dictionary For list command program will print all the words, lessons and meanings Lesson: Word: Meaning FOT ist command, program wil pranine worus, lessons and meanings. Lesson: Word: Meaning For search command, program will get the word. If the word does not exist in the dictionary, program will generate exception. If the word exists in the dictionary, program will display lesson, word and meaning. MIS 103 Introduction to Programming with Java Homework 4 For save command, program will save the content of the dictionary to file. Program should use the file that gets from command line. Directions Consruct the Java program according to standards Project Name MISI03A Projects Package Name homework 4 Class Name Lesson Dictionary. Your Student Number Writes ennument to moram that dari the flow and mera Comment
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
