2014년 9월 5일 금요일

this, super

this 키워드는 자기 자신의 객체를 참조할 때 사용 하고 super 키워드는 상위 클래스 객체에 대한 참조로 사용
 
this
super
생성자
this();
this(매개변수1, 매개변수2,....)
super();
super(매개변수1, 매개변수2,....)
메소드
this.메소드 이름();
super.메소드 이름();
변수
this.변수 이름;
super.변수 이름;

댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...