컴파일 에러 뜹니다 ㅠㅠ

yoo0125 Reply 6 years 20 weeks ago
Rectangle file 에 있어야 한다고 하는데 무슨 뜻인가요,,,??
yoo0125 Reply 6 years 20 weeks ago
해결했습니다만 이유가 궁금하네용....
keacotle Reply 6 years 20 weeks ago
마지막 실패 기준으로 컴파일 에러 메시지는 다음과 같았습니다. Main.java:20: error: class Rectangle is public, should be declared in a file named Rectangle.java public class Rectangle { ^ 1 error