第六十道Java小问题

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class Test {

	public static void main(String[] args) {

		List<Object> a = new ArrayList();
		Collections.addAll(a, "a", "b", "c", "d", "e", "f", "g");
		List b = a.subList(2, 5);
		b.remove("d");
		String[] c = new String[] { "1", "2", "3", "4", "5", "6", "7" };
		String[] d = a.toArray(c);
		System.out.println(Arrays.toString(d));

	}

}

 

请问以上程序的输出是:

你可能感兴趣的:(java,C++,c,C#,F#)