为什么创造对象会失败
public class MapEx {
class Book{
String name,author;
Double price;
Book(String name,String author,Double price){
this.name=name;
this.author=author;
this.price=price;
}
void show(){
System.out.print(name+"\t"+author+"\t"+price);
}
}
public static void main(String[] args) {
Book b=new Book();
}
}