메서드 오버로딩 이중선언 했을때 오류 Duplicate method display() in type Overloading
display() 메서드에서 오버로딩이 이중선언 됬다는 오류
Constructor call must be the first statement in a constructor
생성자에서 또다른 생성자를 호출해야한다 라는 오류
Final 오류
Cannot override the final method from AA_4
메서드에 final 붙어있는것을 사용하려했을때 나오는 오류
final 선언 메서드는 오버라이딩 불가하다.
The type NewWordProcess cannot subclass the final class WordProcess
final 선언된 클래스를 상속받으려고 했을때 나오는 오류
final 선언된 클래스는 상속 받을수없다 .
Abstract 메서드 오류
The type Square must implement the inherited abstract method Style_88.message()
Style_88 의 message() 이라는 메서드가 Square 클래스에서 구현되지않았을때 나오는 오류
추상클래스메서드를 상속받은 자식 클래스에서 구현하지않아서 발생하는 오류이다.
인터페이스 오류
must implement the inherited abstract method
인터페이스 안에있는 추상메서드를 하나라도 재정의하지 않았을때 나오는 오류이다.
GUI 레이아웃에서 오류
Exception in thread "main" java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: weest
레이아웃에서 West 를 wesst 로 오타가 나서 생기는 오류이다. => 대소문자도 틀리면 에러가난다.
'개발 공부 > Java' 카테고리의 다른 글
| HashSet 이용한 Lotto 예제 (3) | 2022.07.28 |
|---|---|
| 코딩 공부 링크 모음 집 (0) | 2022.07.27 |
| Java - while문 활용 예제 (0) | 2022.07.12 |
| Java - 로또 예제 (0) | 2022.07.12 |
| Java - for 문을 이용한 예제 (0) | 2022.07.08 |