에러 정리/백

Ambiguous

필리힐리 2021. 2. 20. 18:38

The method minus(int, long) is ambiguous for the type StaticMathod

 

minus 1번 메소드와 2번 메소드 둘 다 접근 및 호출이 가능하다

컴파일러가 둘 중 어떤 메소드에 접근해야할지 판단할 수 없기 때문에 오류 발생

'에러 정리 > ' 카테고리의 다른 글

mapper에 세미클론  (0) 2021.06.19
Unreachable code  (0) 2021.02.24
Cannot define dimension expressions  (0) 2021.02.11
Identifier expected after this token  (0) 2021.02.11
No enclosing instance of type Desk is accessible  (0) 2021.02.10