What is the difference between Abstract and Interface?

Answers were Sorted based on User's Feedback



What is the difference between Abstract and Interface?..

Answer / narendra mishra

Abstract->Abstract Method are the method without any
body.When derived class inherit the abstract method from
the abstract class It must override the abstract method.
Interface->Interface also define properties, method and
event which are known as the member of an interface.
Interface contain only the declaration of members.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between Abstract and Interface?..

Answer / nikhila

Abstract class contain both complete and incomplete methods
The implementation for abstract methods will be in derived class. Access specifier will allow

Interface contains only incomplete methods.The implementation will be in other class.Access specifier will not allow.by default public can use

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the purpose of dependency injection?

0 Answers  


What are methods c#?

0 Answers  


Can overrride the Main method

6 Answers   NIIT,


In dynamic link library, which api is used for load library?

0 Answers   C DAC,


What is typeof undefined?

0 Answers  


What is use of console?

0 Answers  


OOPs concept ?

1 Answers   iGate, MMTS,


Why is xml called extensible?

0 Answers  


Is c# strongly typed?

0 Answers  


What can you do as a .net developer?

0 Answers  


Do vs while c#?

0 Answers  


write a C# Program add two matrix ?

0 Answers   Wipro,


Categories