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 difference between abstract class and interface in c#?
What is static variable in c#?
What is args c#?
Can I define a type that is an alias of another type (like typedef in c++)?
What is use of FormBoarderStyle Propertie
What are predicates in c#?
What is var c#?
What is JIT (just in time)? how it works?
What is the difference between an application domain and a process?
Define acid rule of thumb for transactions in c#.
What is the difference between array and arraylist c#?
What are virtual classes in c#?
What's c# ?
What is class in oops with example in c#?
What does console readkey do in c#?