Notice
Recent Posts
Recent Comments
Link
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

WON.dev

chapter09_this 본문

JAVA/chapter01_JAVA_개념정리

chapter09_this

GAWON 2023. 5. 31. 18:12
1.1 this
 - 생성된 객체(인스턴스) 자신의 주소(참조, 레퍼런스)
 - 생성된 객체(인스턴스)가 자기 자신을 호출하는 방식
 - 클래스 구성 요소에 this 활용
 	필드  : this.필드
 	생성자 : this()	- 생성자(constructor) 내부에서만 사용가능!

'JAVA > chapter01_JAVA_개념정리' 카테고리의 다른 글

chapter13_inheritance_annotation  (0) 2023.05.31
chapter10_static final  (0) 2023.05.31
chapter08_constructor  (0) 2023.05.31
chapter07_method  (0) 2023.05.31
chapter06_OOP  (0) 2023.05.31