The public type 클래스명 must be defined in its own file
클래스파일안에 두개 클래스를 선언해서 코딩을 했더니 이런 에러메세지가 떴다.
public타입의 클래스이름이 .class파일 이름과 일치해야 해결되는 문제