这是什么地方错了
package javaapplication1;
class tushu{
static String bianhao;
static int a;
static int b;
String name;
int prise;
public void tushu(String name,int prise,int a){
this.name=name;this.prise=prise;this.a=a;
}
public void ff(){
System.out.print(name+prise+a);
}
}
public class Main {
public static void main(String[] args)
{
tushu z[]=new tushu[3];
z[0]=new tushu("nihao", 10, 10);
z[1]=new tushu("hao", 11, 1000);
z[2]=new tushu("ni", 1, 100);
z[0].ff();z[1].ff();z[2].ff();
}
}
z[0]=new tushu("nihao", 10, 10);
z[1]=new tushu("hao", 11, 1000);
z[2]=new tushu("ni", 1, 100);什么错了