Queue Interface. Assignment 1 Implement a program to split a given queue of patients based on their age and return a list of queues with the split queues. The first element of the list should contain a queue with all the having age greater than or equal to 60. The second element of the list should contain a queue with all the remaining patients. Implement the logle inside spla Queue() method. The Patient class has been implemented and provided to you. Test the functionalities using the main() method of the Tester class Sample Input and Output Input Patienti Instance Variables Values name Jack gender age Male 25 Patient 2 Instance Variables Values name Tom Male gender age Patients Instance Variables name Values Simona Female 24 gender Be Output Patients in the senior queue LEWE Name : Tom I nment Patients in the senior queue ERDER Name : Tom Age : 64 Patients in the normal queue Name : Jack Age : 25 Name : Simona Age : 24 Download the Java project from here to solve this exercise in Eclipse. Code in Java 1 yurt Juve. Array ir var 1 tseve. mert av 1 18 13 Private TAR bitering Street . M. th I 14 25 18 IT TE 19 20 21 21 2 weet res 1 poke ting > tander render } puit weer THEN ult) re putain ) DDB I 12 12 13 0 Implement program to update given stack of alphabets such that the bottom the verants are removed from bottom and placed on top with their order maintained. Implement the logic ind updateStack() method Test the functionalities using the main() method of the Tester class Sample Input and Output Sample Input Expected output InputStack (top to bottom) - ABCDE resultStack (top to bottom) GDEAB Download the Java project from here to solve this carcine in licipe Code in Java VARDIR wille kan dette hersteltta per reglerare retterly I 15 1 UT en wat Tehrano LOS Soc. N LE3 Dehrattack instead Dyweet te stel, ) 19 13 2 21 Ver Execute Copy Code