在C#/Java中使用接口 [英] Use of an Interface in C#/Java

查看:54
本文介绍了在C#/Java中使用接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过使用接口类(如果需要)来编写程序而不使用程序有什么好处?
使用它而不是使用体系结构的技术优势是什么?
任何人都可以用几句话给出答案(那些感到使用它的确切好处的人),而不是发布网络链接...

what is the advantage of writing a program by using interface class(if needed)over without using it?
what is the technical advantage of using it rather than architectural?
Can anybody please give answer (those who feel the exact advantage of using it) it in few words rather than posting a web link...

推荐答案

此链接可能是为您提供帮助

http://www.codeproject.com/KB/cs/interfaceconstruct.aspx
This link may be help to you

http://www.codeproject.com/KB/cs/interfaceconstruct.aspx


尝试查看所选择语言的技术文档,甚至可以通过简单的Google搜索来查找"Java接口" ",例如: [ ^ ] .
Try looking at the technical documentation for your language of choice, or even a simple Google search for "Java Interface", such as : this[^].


这篇关于在C#/Java中使用接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆