listSort #java1 ListSortTest02 package kr.or.ddit.basic; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; public class ListsortTest02 { public static void main(String[] args) { List memList = new ArrayList(); memList.add(new Member(1, "홍길동","010-1111-1111")); memList.add(new Member(5, "이순신","010-2222-1111")); memList.add(new Member(7, "성춘향","010-3333-1111")); memLis.. 2023. 6. 22. 이전 1 다음