[求助]这个程序不知道为什么编译通不过?
它报错说:';' expected.在第四行.public interface animal
{
public abstract void iCanDo()
}
class ManKind implements animal
{
void iCanDo()
{
System.out.println("我能思考");
}
}
class Bird implements animal
{
void iCanDO()
{
System.out.println("我能飞翔");
}
}
class Fish implements animal
{
void iCanDo()
{
System.out.println("我能游泳");
}
}
public class JavaProgram92
{
public static void main(String args[])
{
ManKind a=new ManKind();
Bird b=new Bird();
Fish c=new Fish();
System.out.println(a.ManKind());
System.out.println(b,Bird());
System.out.println(c.Fish());
}
}