less than 1 minute read

nested class(중첩 클래스)

클래스 안에 다시 클래스를 정의할 수 있는데 이것을 nested class(중첩 클래스)라고 한다.
nested class에는 아래와 같은 종류들이 있다.

static inner 멤버 클래스

ㅇㄹㅇ

nonstatic inner 멤버 클래스

ㅇㄹㅇㅇ

익명 클래스

ㅇㄹㄴㅇㄹ

Categories:

Updated:

Comments