The public type AbstractTest must be defined in its own file
:공용 유형 AbstractTest는 자체 파일로 정의해야합니다.
1. 클래스 이름과 파일명이 일치하지 않았을때
2. Public을 쓸수 있는 클래스는 파일명과 일치하는 클래스 뿐임 그외의 클래스에서 사용시 에러
'오류 & 에러잡기' 카테고리의 다른 글
class java.math.BigDecimal cannot be cast to class java.lang.String (0) | 2022.08.02 |
---|---|
SQL Error [1052] [23000] (0) | 2022.06.24 |
[Java오류] : must implement the inherited abstract method (0) | 2019.09.24 |