Basic Dot Net Question:

Difference between Class And Interface in .NET?

Tweet Share WhatsApp

Answer:

Class is logical representation of object. It is collection of data and related sub procedures with definition.
Interface is also a class containing methods which is not having any definitions.
Class does not support multiple inheritance. But interface can support

Download Dot Net PDF Read All 116 Dot Net Questions
Previous QuestionNext Question
How to achieve Polymorphism in VB.Net?What does mean by .NET framework?