What is the difference between interface and abstract class ?
Answer Posted / chetan dubey
In c#.net there are basic differences:-
(1)In interface ,we cannot define an datafield while
datafield is declare in abstract class.
(2)Interface can be declared by using the keyword
interface,and abstract can declared by using the abstract
keyword.
(3)we can declare only function prototype which can be
define in inherited class but In abstract class,there is
minimum one abstract method and we define other method also.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is this keyword in C#?
Differentiate between method overriding from method overloading with its functionality?
Is c# substring zero based?
Can we override constructor in c#?
What Happens In Memory When You Box And Unbox A Value-type?
What is xslt in c#?
What is the difference between gettype and typeof in c#?
Which programming language is best for desktop applications?
Is it not possible to store a boolean value as a variable?
What are the new features in c# 2.0?
What is private and shared assembly?
What is master page in asp net c#?
What is the meaning of console writeline in c#?
What are callback methods in c#?
What is ienumerable and iqueryable?