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