What is the difference between Abstract and Interface?
Answer Posted / ram praswesh kumar
[1]:-> An abstract class contain abstract method and non-
abstract method, but In interface all method are implictly
abstract.
[2]:-> An abstract base class can have private,public and
protected access specifier but all member in interface are
implicitly public.
[3]:- A class can inherit only single abstract class but
can implement more than one interface.
[4]:- An abstract class can implement interface but
interface cannot extend abstract class even concrete class.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the full form of GAC? Explain its uses?
How do I simulate optional parameters to com calls?
What is the use of constructor in c# with example?
You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?
What is append in c#?
In C#, explain the difference between overloading and overriding.
Can interface inherit class in c#?
What is multidimensional array in c#?
What are the features of c#?
Which programming language is best for desktop applications?
What do you mean by streamreader/streamwriter class in c#?
how encapsulation is implemented in c#
What is a nested type. Give an example?
Is c# the same as d flat?
List the different stages of a thread?