250x250
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 | 31 |
Tags
- 프로그래머스
- objecterror
- 백준
- HttpServletResponse
- DI
- 다익스트라
- 예외와 트랜잭션 커밋
- 싱글톤
- 오블완
- 프록시
- 의존관계
- 코드트리
- 티스토리챌린지
- 코딩테스트
- 오버라이딩
- 인터페이스
- java
- 코드트리조별과제
- @configuration
- 스프링
- 서블릿
- http 메시지 컨버터
- 참조변수
- html form
- 스프링컨테이너
- 테스트코드
- fielderror
- 추상클래스
- 김영한
- equals()
Archives
- Today
- Total
목록super (1)
minOS
ch7-10 참조변수 super - 객체 자신을 가리키는 참조변수, 인스턴스 메서드(생성자) 내에서만 존재 (static 메서드 내에 사용불가능) - 조상의 멤버를 자신의 멤버와 구별할 때 사용 class Parent { int x = 10; //super.x } class Child extends Parent{ int x =20; //this.x void method(){ System.out.println("x:"+x); System.out.println("this.x:"+this.x); System.out.println("super.x:"+super.x); } } public class Main { public static void main(String[] args) { Child child = ne..
TIL/남궁성의 자바의 정석
2023. 11. 27. 23:48