Question: Write a program that allows the user to edit an atlas of cities and states. The user should be able to insert and delete states
Write a program that allows the user to edit an atlas of cities and states. The user should be able to insert and delete states as well as insert and delete cities belonging to specific states. (Hint start with the following code)
(Java Programming)
import java.util.*;
public class GenericsDemo {
/** * @param args */ public static void main(String[] args) { // We have no idea how many states ahead of time, so we'll use a // dynamic data structure ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
