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
- OGNL
- 예외처리
- Android
- 안드로이드
- 전화걸기
- 메서드
- Graphic
- 이클립스
- AWT
- Eclips
- oracle
- JSP
- 배열
- mybatis
- 국제화
- 클래스
- JavaScript
- layout
- Menu
- 메소드
- HTML
- paint
- 기본
- 오버로딩
- Spring
- struts2
- 에러페이지
- Java
- 생성자
- 어노테이션
Archives
- Today
- Total
목록super (1)
note
super 연습문제 (에러 찾기)
package com.over3;//super에러 해결하기 public class PointTest { public static void main(String[] args){ Point3D p3 = new Point3D(1,2,3); System.out.println(p3.getLocation()); } } //Point(){} class Point{ int x; int y; String getLocation(){ return "x :"+x+", y :"+y; } } class Point3D extends Point{ int z; Point3D(int x, int y, int z){ /*2.에러 해결방법 부모 클래스에 default 생성자가 없고 인자를 전달해야 하는 생성자만 있을경우 명시적으로 supe..
자바/오버라이딩
2011. 12. 20. 17:46