Interface Abstract
1. Interface support multiple inheritance. 1.It does not support multiple interface.
2.interface does not contain data member. 2. It contain data member.
3. Interface does not contain constructor. 3. it contains Constructor.
4. it contains only incomplete member.
only declaration 4. it contains both compl and incomplete member
5. it does not contains access modifier. 5. it contains access modifier for sub,function properties.
everything by default public.
6. Member of interface can not be static. 6. only complete member of abstract class cab be static.
No comments:
Post a Comment