您的位置:首页 > Web前端

What is difference between abstract class and interface

2012-05-19 04:55 417 查看
1. A sub class could implements more than one Interface, however it could only extends one Abstract class

2. Every method in interface should be abstract,but this is not necessary in abstract class

3. Interface will contain only final static variables, but abstract class could have final variables and Instances Variables.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: