[JAVA] Iterator, for, for each 소스코드 package jun7222.tistory.com; public class Student { private String name; private String studentNum; public Student( String name, String studentNum ){ this.name = name; this.studentNum = studentNum; } public void showInfo(){ System.out.println("name : " +name); System.out.println("studentNum : " +studentNum); } } Student 클래스에 학생 이름, 학번을 저장하며, 생성자로 초기화 해주고 있음sho..