Question: Hello i need to write a DATA STRUCTURE IN JAVA of the following ADT, i need the answer no links please, thanks in advance ADT
Hello i need to write a DATA STRUCTURE IN JAVA of the following ADT, i need the answer no links please, thanks in advance


ADT Earthquake list Data Earthquake's Location Earthquake's Date Earthquake's Strength Earthquake's Duration Operations PseudoCode Add (eqDate, eqLocation, egStrength, eaDuration) UML tadd (eqDate: Date, eqLocation: Task: add the record of the String, eqStrength: Float egDuration: int): void Description earthquake to the records collection. Input: eqLocation is the place where the earthquake happened egDate is the date which the earthquake happened in. eqDuration is the full length of the earthquale measured in minutes. Output: no outputs Task: Remove the record of the earthquake that has matched with the location and date Remove (egDate, egLocation) +remove(eaDate: Date, eqLocation: String): Boolean Input: eqDate is the earthquake's date
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
