Jam's story
[오류]No enclosing instance of type --- is accessible. Must qualify the allocation with an enclosing instance of type 본문
자바
[오류]No enclosing instance of type --- is accessible. Must qualify the allocation with an enclosing instance of type
애플쩀 2022. 3. 11. 08:35No enclosing instance of type Prac is accessible. Must qualify the allocation with an enclosing instance of type
클래스를 어느 한 클래스의 내부에 썼다.
다시 분리해주니 오류가 없어졌다.
'자바' 카테고리의 다른 글
다형성 예제+ Vector (0) | 2022.03.20 |
---|---|
[에러] The field MyPoint.x is not visible (0) | 2022.03.11 |
예외처리 (0) | 2022.02.02 |
자바 구구단 3행 3열로 입력받아 출력 중복은 제외 (0) | 2022.01.31 |
중첩 클래스 와 중첩 인터페이스 (0) | 2022.01.27 |
Comments