IT_Programming/Java 209

인터페이스 Comparator를 이용한 순서 정렬하기 (Array.sort)

==============================[Student.java]=============================== public class Student implements Cloneable{ private String name; private int id; private String addr; public Student(String name, int id,String addr) { this.name=name; this.id=id; this.addr=addr; }//Student public String getAddr() {return addr;} public int getId() {return id;} public String getName() {return name;} publi..

IT_Programming/Java 2007.07.05