在我们使用抽象类或接口的scenerio的项目中 [英] in project in which scenerio we used abstract class or interface

查看:57
本文介绍了在我们使用抽象类或接口的scenerio的项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

plz帮我讲解接口和抽象类

sir ,
plz help me about interface and abstract class

推荐答案

http://www.codeproject.com/search.aspx?q=abstract+interface&doctypeid=1%3b3 [ ^ ]


请看我过去的答案:

为什么我们需要为接口创建实例而不是实现? [ ^ ] ,

对接口的怀疑 [ ^ ],

接口和多态性 [ ^ ],

如何决定选择抽象类或接口 [ ^ ],

抽象类和接口之间的区别是否相同没有方法和变种 [ ^ ],

当我们使用抽象时,当我们使用接口时......? [ ^ ]。



-SA
Please see my past answers:
Why we need to create instance for interface not for implementation?[^],
Doubts on Interfaces[^],
Interfaces and Polymorphism[^],
How to decide to choose Abstract class or an Interface[^],
Difference between abstract class and interface if they have same no of methods and var[^],
When we use abstract and when we use interface...?[^].

—SA


这篇关于在我们使用抽象类或接口的scenerio的项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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