Code needs to be in java language
Question Answered step-by-step Code needs to be in java language Code needs to be in java language Image transcription textWrite a program: Emergency Room We will start withimplementing our own generic version of the Heap datastructure. We will then use this implementa… Show more… Show moreImage transcription textYou should also create a HeapDemo class to test yourimplementation. (10 points) Its main () method needs to: oInstantiate a comparator for Integer objects an o… Show more… Show moreImage transcription textwill never change – hence your priority queuereference is immutable. This is so that you don’thave to handle re-prioritizing your p… Show more… Show moreImage transcription textYour output should look similar to the following:Jeff Barnes DOB=1968-12-19 severity=EIGHTarrivalTime=23 : 30 : 34 . 911978200… Show more… Show more Computer Science Engineering & Technology Java Programming COSC 2436 Share QuestionEmailCopy link Comments (0)


