What is the difference between Abstract and Interface?

Answer Posted / jitendra yadav

Abstract Class may contain constructor but interface does
not contain constructor.

Is This Answer Correct ?    25 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use delegates in c#?

518


What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

521


What is deadly diamond problem?

542


What is different about switch statements in c#?

490


Can we override constructor in c#?

502






In how many ways you can overload a method?

588


Is string a class in c#?

475


Explain the use of virtual, sealed, override, and abstract method?

476


How many keyword present in C# language ?

544


What is a property c#?

516


What are partial classes and use of partial classes?

527


How many constructors can a class have in c#?

479


What does exclamation mark mean c#?

535


What are the different types of constructors?

506


What is JIT (just in time)? how it works?

556