什么是interface的显示实现(explicit implementation)和隐式实现(implicit implementation)?他们之间有什么区别?
基于12个网页-相关网页
JDBC的具体实现是被隐式加载的,而且源代码很少直接引用这些具体类。
JDBC concrete implementations are loaded implicitly, and source code rarely references these concrete classes directly.
隐式相关性可能会导致紧密耦合,因为这样可能会由于需要使用能实现隐式相关性的传输和协议而限制传输独立性。
Implicit correlation can lead to tight coupling, because it might limit transport independence due to the requirement for a transport and protocol that can achieve implicit correlation.
这可以通过用户自己创建过滤实现,或是由设计人员在模型中通过隐式过滤器实现。
This can be accomplished by the user creating the filters themselves, or imposed on the authors through implicit filters created in the model.
应用推荐