개발 일기
The public type [클래스이름] must be defined in its own file
Egu99
2020. 8. 25. 17:40
The public type [클래스이름] must be defined in its own file
1. 클래스 이름과 파일명이 일치하지 않았을때
2. Public을 쓸 수 있는 클래스는 파일명과 일치하는 클래스 뿐이다. 그외의 클래스에서 사용시 에러