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
Which control cannot be placed in mdi?
Define c# i/o classes? List the commonly used classes?
What is xaml in c#?
What are circular references?
Can a dictionary have duplicate keys c#?
Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards
What is ienumerable <> in c#?
What is the difference between static class and abstract class in c#?
Can we create extension method for interface?
List the 5 different access modifiers in c#?
What is property in c#?
What is option parameter in C#?
Define c# and list the features.
How many classes are there in classification?
What are some of the commonly used commands in sqlcommand?