Question: JAVA PLEASE 1 . Write a Passenger class with private data for passenger name and priority ( 1 , 2 ) with natural ordering from
JAVA PLEASE Write a Passenger class with private data for passenger name and priority with natural ordering
from the Comparable interface defined by the priority level.
Fill in the missing code in the App.java program to fill the priority queue with passenger data,
complete the GUI form showing seats, and fill in remaining code as marked by the TODO: comments.
Be sure to test your code on both data sets, passengerstxt and passengerstxt You do not have to
do data validation unless you wish so can assume normal and valid data.
Passenger data set
Smith,
Li
Morson,
McKinney,
Salvo,
Henders,
Sully,
St Croix,
Lopez,
Pauly,
Kinney,
Passenger data set
Smith,
Li
Morson,
McKinney,
Salvo,
Henders,
Sully,
St Croix,
Lopez,
Pauly,
Kinney,
Singh,
Bellows,
Biano,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
