일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 자바 야구게임
- Full text
- 전체
- 가변인자
- 다운캐스팅
- Validations
- 자바
- 다형성
- 형변환
- 추상클래스
- 야구게임
- jquery
- angular2
- 전체텍스트
- 단축키
- 상속
- 상속예제
- full text indexing
- Random
- Login with OAuth Authentication
- 로또
- 25가지 효율적인 sql작성법
- 스프링
- 페이징
- 이클립스
- 업캐스팅
- IBatis procedure
- while
- 전자정부
Archives
- Today
- Total
목록형변환 (1)
nalaolla
다형성, 형변환, 다운캐스팅, 업캐스팅
package test.com; public class Test02AAA { int a = 111; String a2 = "AAA"; public Test02AAA() { System.out.println("Test02AAA()..."); } public void aaa() { System.out.println("aaa()..."); }} package test.com; public /*final*/ class Test02BBB extends Test02AAA { int b = 222; String b2 = "bbb"; public Test02BBB() { System.out.println("Test02BBB()..."); this.a = 777; } public void bbb() { System.ou..
JAVA/15. Inheritance(상속)
2016. 6. 29. 15:34