什么是文丘里管:关于java的interface和implementation,可以大概地解释一下吗???

来源:百度文库 编辑:高校问答 时间:2024/05/08 17:32:46
谢谢
同时还有一个问题:how to pass array by reference?

interface接口,只列出方法,而不实现,具体实现在其子类中
implementation,实现接口,表示子类实现了怎样的接口或父类

interface 和 implementation 是对应的关系。

implementation 实现了 interface 定义的接口