hehe,改为这个就OK了public int fibonacci(int p){
   if(p==1||p==0) 
return(p);
   else
return this.fibonacci(p-1)+this.fibonacci(p-2);
}