the public type hello must be defined in its own file

vscode를 설치해서 일단 환경설정들은 한 후에 hellow world 를 찍어봣는데 the public type hello must be defined in its own file 이런 에러가 발생했습니다. 검색을 좀 해보니 파일명과 작성한 클래스명이 달라서 이런 오류가 뜬다고 하여 작성한 코드에서 hello를 test로 수정해서 다시 실행! 터미널에 Hello world가 잘 찍히는 것을 확인 할 수 있습니다.
- 광속거북이 -
'the public type hello must be defined in its own file' 태그의 글 목록