class bb33
{
int a,b;
    
    bb33(int a,int b);
    {
     this.a=a;
     this.b=b;
    }

bb33 twice()
{
return new bb33(2*a,2*b);
}

public static void main(String[] args)
{
bb33 ob1=new bb33(10,20);
bb33 ob2=ob1.twice();
System.out.println(ob1.a+"   "+ob1.b);
System.out.println(ob2.a+"    "+ob2.b);
}

}这段最简单的代码编绎都不能通过:MISSING METHOD BODY。OR DECLARE ABSTRACT!
刚从DELPHI转过来,不知道怎么回事