this 썸네일형 리스트형 #55_140829_JAVA_THIS # THIS l This 키워드1. 클래스 멤버 메소드의 매개변수와 클래스 멤버 변수의 이름이 중복되는 경우2. this 키워드를 이용하면 생성자 내에서 다른 생성자를 호출할 수 있다 This 예제class Person{ private int perID; private int milID; private int birthYear; private int birthMonth; private int birthDay; public Person(int perID, int milID, int bYear, int bMonth, int bDay) { this.perID=perID; this.milID=milID; birthYear=bYear; birthMonth=bMonth; birthDay=bDay; } public .. 더보기 이전 1 다음