What is the difference between Abstract and Interface?

Answer Posted / nitin kumar tomar

In interface All methods are abstract but in Abstract Class
some methods could be concrete.
There is no Methods Implimentation is allowed inside
interface and also No accessibility modifiers are not
allowed in interface.

Is This Answer Correct ?    31 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can derived classes have greater accessibility than their base types?

749


What are the types of attributes in c#?

699


windows c# using datagridview in edit form sql server

3812


What is string literal in c#?

702


What is threading in c# with example?

668


What is difference between an reference type and value type in C#?

829


Is constructor a static method?

732


3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close

1631


Why do we need escape characters?

670


If a method's return type is void, can you use a return keyword in the method?

713


Can I call a virtual method from a constructor/destructor?

683


What are the Types of JIT and what is econo-JIT

1043


What are extensions methods in c#?

658


What is the compiler of c#?

715


Can you inherit from a static class in c#?

687