What is the difference between Abstract and Interface?

Answer Posted / thulasiram

interface can have only non implementation methods

abstract class can have both implementation and non
implementation methods

interfaces are used for universal access

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between destructor and finalize?

443


To allow an element to be accessed using a unique key which .NET collection class is used ?

620


What is default value of decimal c#?

481


What is equal c#?

510


What is wpf application in c#?

465






Why do we use static methods in c#?

536


Is system a class in c#?

496


Can you instantiate a struct without using a new operator in c#?

536


What do you mean by hashtable c#?

575


Define parsing? Explain how to parse a datetime string?

510


What is the difference between finalize() and dispose()?

496


Are all methods virtual in c#?

538


What is join in c#?

484


Can I get the name of a type at runtime?

537


What is a method c#?

478