多态 static 表示静态 编译的时候只调用Animal类中的eat 不会调用其他类中的eat 不建议用static;

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/zhangmenghui/p/10544867.html