Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 토비의스프링
- beanfactory
- springboot
- IOC
- Spring
- Kotlin for Java Developers
- springwebmvc
- 링킹
- String
- Immutable
- DesignPattern
- lambda
- 컴퓨터시스템
- 빌드툴
- 토비의스프링3.1
- hibernate
- FunctionalInterfaces
- ORM
- 프록시
- 자바
- java
- exception
- JPA
- AutoConfiguration
- ApplicationContext
- gradle
- 메이븐
- DispatcherServlet
- 클린코드
- 링커
Archives
- Today
- Total
목록중첩클래스 (1)
엔지니어로 가는 길

출처: https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html 중첩 클래스란 Java에서는 클래스 안에 클래스를 정의할 수 있다. 클래스 안에 정의된 클래스를 nested class(중첩 클래스) 라고 한다. 중첩 클래스는 바깥 클래스의 ‘멤버’이므로 private, protected, public, package-private 모두 가 능하다. (top-level 클래스는 오직 public과 package-private만 가능하다.) 중첩 클래스는 static과 non-static 으로 나눌 수 있는데, static인 경우 static nested class라고 부르고 non-static인 경우 inner class라 부른다. Non-stati..
프로그래밍/Java
2020. 4. 23. 12:39