Compile Error

jaehoon Reply 5 years 20 weeks ago
어떤 부분에서 컴파일에러가 나는 걸까요? 자체적으로 돌릴때는 문제가 없는데요ㅠㅠ
Hyunwoo Reply 5 years 20 weeks ago
Main.java:25: error: class Account is public, should be declared in a file named Account.java public class Account { ^ Main.java:56: error: non-static variable annualInterestRate cannot be referenced from a static context annualInterestRate = newAnnualInterestRate; ^ 2 errors 위와 같은 에러가 나타납니다.
jaehoon Reply 5 years 20 weeks ago
해결했습니다. 감사합니다