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 are managed providers?
What are concrete classes?
the c# keyword .int. Maps to which .net type?
What are the applications of c#?
What is datarelation c#?
What tool we have to use to install assembli in gac folder.
What is ienumerable t in c#?
Explain how to add controls dynamically to the form using c#.net.
What is concatenation and when should it be used?
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
What is arraylist c#?
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge
What is cli in c#?
Why do we use public static void main in c#?
What is the difference between read and readline in c#?