1. Create a Student 2. Create a MasterStudent 3. Create a PhDStudent 4. Display all students 5. Display the student count 6. Find and remove a student 7. Add a personnel 8. Serve people waiting in...


In Java:



just i need 8 option


1. Create a Student<br>2. Create a MasterStudent<br>3. Create a PhDStudent<br>4. Display all students<br>5. Display the student count<br>6. Find and remove a student<br>7. Add a personnel<br>8. Serve people waiting in cafeteria line<br>0. Exit<br>8.<br>Initiating food service...<br>Serving food for Marty McFly: Has a food coupon, food is served.<br>Serving food for Emmett Brown: Does not have a food coupon.<br>The food is $10. Are you going to pay (y/n): y<br>Food is served.<br>Serving food for Biff Tannen: Does not have a food coupon.<br>The food is $15. Are you going to pay (y/n) : n<br>Food is not served.<br>Serving food for Stanford Strickland: Is a personnel, so food is served.<br>

Extracted text: 1. Create a Student 2. Create a MasterStudent 3. Create a PhDStudent 4. Display all students 5. Display the student count 6. Find and remove a student 7. Add a personnel 8. Serve people waiting in cafeteria line 0. Exit 8. Initiating food service... Serving food for Marty McFly: Has a food coupon, food is served. Serving food for Emmett Brown: Does not have a food coupon. The food is $10. Are you going to pay (y/n): y Food is served. Serving food for Biff Tannen: Does not have a food coupon. The food is $15. Are you going to pay (y/n) : n Food is not served. Serving food for Stanford Strickland: Is a personnel, so food is served.
Your new menu should look like this;<br>1. Create a Student<br>2. Create a MasterStudent<br>3. Create a PhDStudent<br>4. Display all students<br>5. Display the student count<br>6. Find and remove a student<br>7. Add a personnel<br>8. Serve people waiting in cafeteria line<br>0. Exit<br>When using the 7th option, you should create a personnel using their name and surname.<br>When using the gth option, you should iterate over the ArrayList<Cafeteria> and call the<br>serveFood () methods of each object.<br>

Extracted text: Your new menu should look like this; 1. Create a Student 2. Create a MasterStudent 3. Create a PhDStudent 4. Display all students 5. Display the student count 6. Find and remove a student 7. Add a personnel 8. Serve people waiting in cafeteria line 0. Exit When using the 7th option, you should create a personnel using their name and surname. When using the gth option, you should iterate over the ArrayList and call the serveFood () methods of each object.

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here