在该 Java文档说…
When an interface has no direct SuperInterface, it will create abstractpublic method for all those public methods present in the Object class。
这就是为什么您可以
toString()在接口引用上调用方法的原因

在该 Java文档说…
When an interface has no direct SuperInterface, it will create abstractpublic method for all those public methods present in the Object class。
这就是为什么您可以
toString()在接口引用上调用方法的原因