what is the difference between interface and abstraction?
Answer Posted / ashish gupta
1) In Interface we can give only declarations not
definitions but in abstraction we can hv definitions also.
2) In an Abstraction we must hv at least one abstract
function.
3) Abstraction can not be instantiate .
4) In Interfaces we can not assign access identifier.
5) A class can implement 2 interfaces but can inherit only
one Abstract function.
| Is This Answer Correct ? | 27 Yes | 4 No |
Post New Answer View All Answers
What are Uses of CLR
What are the characteristics of c#?
What is xpath in c#?
What is difference between const and static in c#?
What is the use of protected in c#?
What is called method in c#?
What is transparent caching with aop ?
What is a derived class in c#?
Can you drink alcohol with a loop recorder?
What standard types does c# use?
How Reflection is used and what it's significance ?
what class is underneath the sortedlist class?
What do you mean by the delegate in c#?
What is wpf c#?
What is the difference between constants and read-only?