import java.util.*;
public class HiBhai
{
public static void main (String[] args)
{
List list = new ArrayList();
list.add = ("Mumbai");
list.add = ("Baple");
list.add = ("Alibag");
list.add = ("Nagpur");
list.add = ("Pune");
System.out.println(list.toString());
}
}
答案 0 :(得分:0)
import java.util.*;
public class HiBhai
{
public static void main (String[] args)
{
List list = new ArrayList();
list.add("Mumbai");
list.add("Baple");
list.add("Alibag");
list.add("Nagpur");
list.add("Pune");
System.out.println(list.toString());
}
}