※ 연결리스트 테스트 - Listl 인터페이스를 구현한 LinkedList를 테스트하는 방법은 다음과 같다 public class Tester{ public static void main (String[] args){ static Listl List = new LinkedList (); int n = 10; // 연결 리스트 생성 for(int i = 0; i =0; i--) int x = list.removeFirst(); // removeLast도 가능 }