代码最后一行出错,为什么调用不了?   求大神们可以解答interface Alarm{
public String getBrand();
public void larmNotice();
}


public class Bentley extends Car {
    public String getInfo(){
    
     return "Bentley";
    }
     public String getBrand(){
     return "宾利牌汽车专用报警器";
  
    }
     public void larmNotice(){
     System.out.println("主人,有人在盗窃您的宾利车!");
    
    
     }
    
}
public class Customer {  public static void main(String args[]){
  Bentley b = new Bentley();
  
  
 System.out.println("顾客要购买宾利:");
   //Car bentley=CarFactory.getCar("Bentley");
 System.out.println("提取汽车:"+b.getInfo());
   //System.out.println("提取汽车:"+bentley.getInfo());
  // System.out.println("提取汽车:"+b.getInfo());
   System.out.println("赠送汽车报警器:"+b.getBrand());
   System.out.println(b.larmNotice());  //此处出错?
 }
}