Question
NOTE: (the code should be write a java language) Q1: A particular bank in Oman is facing an issue while serving its customers. The bank
NOTE:(the code should be write a java language)
Q1: A particular bank in Oman is facing an issue while serving its customers. The bank want to employ some kind of ordering so that it can serve its customers on the first come first serve basis.
a) As a computer science student, explain the kind of data structure you will use to solve the problem and why?
b) Then, write a program to simulate the process. The program should ask user to enter names of 10 customer and place them in the data structure you have selected.
c) Following this, program should remove the names from the data structure one by one and display the name that has been served.
NOTE:
(the code should be write a java language)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started