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 do you understand by an Implicit Variable?
What is the default value of string in c#?
Is c# different than c++?
Define delegate?
Are cao stateful in nature?
Which is faster list or dictionary in c#?
What is executereader in c#?
What is main thread in c#?
How many variables do you need?
How do you declare an interface in c#?
Which string method is used for concatenation of two strings in c#?
What is the difference between do and while loop?
Which technology is best for desktop application?
What is the solution if you need to manipulate sets of items?
Write down the c# syntax to catch an exception