Java에서는 클래스 내부에 메소드를 정의하고 클래스 외부에 메소드를 구현할 수 없는 것 같습니다.

NoSuchKey

추천

출처blog.csdn.net/m0_61629312/article/details/131040758