자바(java) 코딩 에러좀 잡아주세요...(상속받기 연습)

입력은 받지 않고 interface와 implements, extends로 상속받기아서 출력만하면 됩니다..

 

------------------------------------------------------------------------------

class Account
{
 String accountNo;
 String ownerName;
 int deposit;
 int withdraw;
 int balance;
 Account(String accountNo, String ownerName, int deposit, int withdraw, int balance)
 {
  this.accountNo = accountNo;
  this.ownerName = ownerName;
  this.deposit = deposit;
  this.withdraw = withdraw;
  this.balance = balance;
 }
 
 void ownerInfo(String accountNo, String deposit, int withdraw, int balance)
 {
 System.out.println(\"계좌번호 : \" + accountNo);
 System.out.println(\"입금액 : \" + deposit);
 System.out.println(\"출금액 : \" + withdraw);
 System.out.println(\"잔액 : \" + balance);
 }
}

------------------------------------------------------------------------------

class MsgSender implements SMSSender
{
 String bankName;
 String phoneNumber;
 MsgSender(String bankName, String phoneNumber)
 {
  this.bankName = bankName;
  this.phoneNumber = phoneNumber;
 }
}
------------------------------------------------------------------------------

interface SMSSender extends Account
{
 SMSSender(String bankName, String accountNo, String ownerName, String phoneNumber, int deposit, int withdraw, int balance)
 {
  super(bankName, accountNo, ownerName, phoneNumber, deposit, withdraw, balance);
 }

 void sendMessage(String bankName, String accountNo, String ownerName, String phoneNumber, int deposit, int withdraw, int balance)
 {
  System.out.println(\"--------------------------\");
  System.out.println(bankName + \" 입니다.\");
  System.out.println(\"계좌번호 : \" + accountNo);
  System.out.println(\"고객성함 : \" + ownerName);
  System.out.println(\"전화번호 : \" + phoneNumber);
  System.out.println(\"입금액 : \" + deposit);
  System.out.println(\"출금액 : \" + withdraw);
  System.out.println(\"잔액 : \" + balance);
  System.out.println(\"--------------------------\");
 }
}

------------------------------------------------------------------------------

class Main
{
 public static void main(String args[])
 {
  Account obj1 = new Account(\"539-123456-78-901\", \"홍길동\", \"0\", \"50000\", \"120000\");
  SMSSender obj2 = new SMSSender(\"KPU 은행\", \"539-123456-78-901\", \"홍길동\", \"010-9876-5432\", \"0\", \"50000\", \"120000\");
  
  obj1.ownerInfo(\"539-123456-78-901\", \"0\", \"50000\", \"120000\");
  obj2.sendMessage(\"KPU 은행\", \"539-123456-78-901\", \"홍길동\", \"0\", \"50000\", \"120000\", \"010-9876-5432\");
 }
}

------------------------------------------------------------------------------

여기서 더이상 어떻게 수정해야 할지 모르겠습니다..

지금 코딩대로는 SMSSender 클래스에서 <identifier> expected 라는 오류 하나만 뜨는데..

어떻게 수정을 해야할까요 ㅜㅜ?