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 oledbconnection c#?
Explain the three test cases in unit testing?
How to Show Message box in Metro Style App?
Can a private virtual method can be overridden?
4. Describe the process when we send a request URL? And who is responsible for that?
Is static class thread safe in c#?
What are the steps for creating clr trigger
What is array c#?
Is c# lazy thread safe?
What is a .aspx file?
What are expressions c#?
What is the delegates in c#?
What is a namespace server?
How many constructor can a class have?
Is int an object in c#?