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 is int tryparse in c#?
What is the implicit name of the parameter that gets passed into the class set method?
What is thread pooling?
What are the Configuration files in .net?
Distinguish between the Debug class and Trace class with its functionality?
Is char * null terminated?
Is c# scripting language?
What is the use of ienumerable in c#?
What is cookies in c# asp net?
Define strong name in c#?
What are sorted lists?
What is meant by console programming?
What is the difference between User controls and Custom Controls?
What is use of console?
Why do we use struct in c#?