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

What is the use of properties window?

602


Does c# support templates?

636


What is the use of protected in c#?

598


Why is xml called extensible?

580


Define Abstract Class in C#

620






What is interface inheritance in c#?

593


Can a private virtual method can be overridden?

646


Can multiple inheritance implemented in c# ?

607


Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?

554


What are the differences between system.string and system.text.stringbuilder classes?

588


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

1911


Why is c# used?

559


what is a structure in c#

630


In a site to turn off cookies for one page which method is followed?

608


If you donot specify an access modifier for a method, what is the default access modifier?

627