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:35

No enclosing instance of type Prac is accessible. Must qualify the allocation with an enclosing instance of type

 

클래스를 어느 한 클래스의 내부에 썼다.

다시 분리해주니 오류가 없어졌다. 

Comments