전체 배열 (List) 구현

1221 단어 Java
package Java2012  ;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/*   n   m(n>=m)        
 * */
public class    List {
	static Set set = new HashSet();
	static int i;//       
	static int j;//        
	static int num = j;//     
	static List list;
	static int count = 0;//         
	public static void main(String[] args) throws IOException {
//		File file = new File("E:" + File.separator + "txt" + File.separator
//				+ "   .txt");
		File file = new File("E:" + File.separator
			+ "   .txt");
		file.createNewFile();
		int i = Integer.parseInt(javax.swing.JOptionPane
				.showInputDialog("       "));
		list=new ArrayList();
		int j = Integer.parseInt(javax.swing.JOptionPane
				.showInputDialog("       "));
		for(int a=0;a

좋은 웹페이지 즐겨찾기