QUESTION

Data Structure in Java

Write a class in JAVA for the city database using unordered lists. Each database record contains the name of the city (a string of arbitrary length) and the coordinates of the city expressed as integer x and y coordinates. Your database should allow records to be inserted, deleted by name, and searched by name or coordinate. Implement the database using an array-based list. Develop a simple test (as the main function) Run your program and present the results of the test.

please take a screenshot of the code along with the Java code.

Public Answer

1ALXSI The First Answerer