Basic Dot Net Question:
Difference between Class And Interface in .NET?
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
Interface is also a class containing methods which is not having any definitions.
Class does not support multiple inheritance. But interface can support
Previous Question | Next Question |
How to achieve Polymorphism in VB.Net? | What does mean by .NET framework? |