What is difference between Abstract Class and Interface?
Answer Posted / tarunkumar
Abstract class is a class in which it will contain both the
abstract and non-abstract methods.The abstract class must
be inheritable by another class. In vb.net it will be
defined using mustinheritable keyword.
The syntax is :
Public MustInheritable Class classname
Interface is a class in which it will contain only the
abstract methods. The interface can be implemented or not
by the another class.The functions in interface will be
implemented by the another class which implements the
interface.
The syntax is :
Public Interface interfacename
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the feature which is common to all .net languages?
What is multiple form in vb?
What is misl code?
What is an application domain? how they get created?
Tell me how many .net languages can a single .net dll contain?
What is deep copy?
my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .
What is jagged array in vb.net?
What is portable executable?
Explain the use of option explicit?
What are the advantages of an assembly?
What is code access security?
What is econo-jit?
Name some of the features of C# which are not present in VB.NET?
How does vb.net achieve polymorphism?