음..

spongbob9876 Reply 8 years 22 weeks ago
public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); Account account = new Account(sc.nextInt(), sc.nextInt()); Account.setAnnualInterestRate(sc.nextDouble()); 여기서 위 코드 마지막줄의 Account를 account로 고쳐야 되는거 아닌가요? account.setAnnualInterestRate(sc.nextDouble()); 이렇게요
spongbob9876 Reply 8 years 22 weeks ago
근데 다른 분들은 다 accepted되서.. 저에게만 일어난 문제인가 싶네요 ㅠㅠ 혹시 제 코드 봐주셔서 원인 알려주시면 감사합니다
baemingun Reply 8 years 22 weeks ago
static을 사용하세요