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 difference between assembly and namespace?
How do generics work in c#?
What is dao in c#?
Are classes passed by reference in c#?
What is before string in c#?
What is namespace in oops?
Is string a primitive data type in c#?
When is a class declared as a class abstract?
What is yield c#?
Is array value type in c#?
What is the difference between list and ilist in c#?
What is private virtual in C#?
Explain about Destructor method?
Why do we need properties in c#?
I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??