Assume that you have been hired to write a java application for PLG Institute to help the admin to manage the allowances of its lecturers. There are two types of allowances: Paid allowance and honorary allowance. Each lecturer has the following information: type of allowance, lecturer ID, lecturer name, allowance month. Paid allowance comes with two features (e.g. points, grade, conference). While the honorary allowance comes with one required feature (full_time, part_time). Your Institute_manager program should display the following menu for the admin and get his/her choice: 1-Remove all allowances of a specific lecturer. 2-Add new allowance. 3-Display all allowances on a specific month: The Institute_manager program should call the suitable routine from allowances' organizer application to implant the required job. The allowances' organizer application should read the initial allowance records from a file called "allowance.txt" into an ArrayList called allowanceList in a separate routine, and then it should be able to do the following according to the request of the admin: • Read specific lecturer ID and remove all its allowances. Read the information of a new allowance and add it to the list of allowances. • Read a specific month name from the admin and display all the allowances given at that month. Hint: Use the toString method that returns the information of a single allowance as a string and, don't forget to update the method in other classes if required(override). paid:1234:Ahmed Alsalmi: January: points, grade honorary: 1234:Ahmed Alsalmi:January: full_time honorary:2344:Ali Ahmed AlNofly: February: part_time paid:3456:Tuqa Alsalmi: January: grade, conference paid:2344:Ali Ahmed AlNofly: February: points, grade honorary:5656:Suha AlNofly: April : full_time Sample Input file "allowance.txt"
Assume that you have been hired to write a java application for PLG Institute to help the admin to manage the allowances of its lecturers. There are two types of allowances: Paid allowance and honorary allowance. Each lecturer has the following information: type of allowance, lecturer ID, lecturer name, allowance month. Paid allowance comes with two features (e.g. points, grade, conference). While the honorary allowance comes with one required feature (full_time, part_time). Your Institute_manager program should display the following menu for the admin and get his/her choice: 1-Remove all allowances of a specific lecturer. 2-Add new allowance. 3-Display all allowances on a specific month: The Institute_manager program should call the suitable routine from allowances' organizer application to implant the required job. The allowances' organizer application should read the initial allowance records from a file called "allowance.txt" into an ArrayList called allowanceList in a separate routine, and then it should be able to do the following according to the request of the admin: • Read specific lecturer ID and remove all its allowances. Read the information of a new allowance and add it to the list of allowances. • Read a specific month name from the admin and display all the allowances given at that month. Hint: Use the toString method that returns the information of a single allowance as a string and, don't forget to update the method in other classes if required(override). paid:1234:Ahmed Alsalmi: January: points, grade honorary: 1234:Ahmed Alsalmi:January: full_time honorary:2344:Ali Ahmed AlNofly: February: part_time paid:3456:Tuqa Alsalmi: January: grade, conference paid:2344:Ali Ahmed AlNofly: February: points, grade honorary:5656:Suha AlNofly: April : full_time Sample Input file "allowance.txt"
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 4 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY