Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
-
내부 클래스는 클래스 내에 선언된 클래스입니다. 두 클래스가 긴밀한 관계에 있을 때, 사용할 수 있습니다. 내부 클래스의 종류는 크게 4가지가 있습니다. instance class : outer 클래스의 멤버변수 선언위치에 선언하며, outer 클래스의 인스턴스 멤버처럼 다뤄집니다. 내부 클래스의 선언위치에 따라서 같은 선언위치의 변수와 동일한 스코프와 접근성을 가집니다. |
Beta Was this translation helpful? Give feedback.
-
클래스간 연관성 높을 때 그룹화 |
Beta Was this translation helpful? Give feedback.
-
.
Beta Was this translation helpful? Give feedback.
All reactions