Answer Posted / mayank bhatnagar
Interface includes just the definition of methods whereas
Abstract Classes are just like classes and hold all
functionality of classes except certain features.
The only difference between Abstarct Classes and Interfaces
is the use.Abstract Classes were introduced becoz of
diamond problem in C,C++.You can only inherit these classes
but cannot instantiate(i.e. no object of these classes can
be created, there can be one or more methods abstact in
such classes).
Interfaces are public and can be used/inherited by multiple
classes which was not before possible.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How can we store decimal data in .net?
What is pre-jit?
What is the use of console application?
What is the advantages of VB.NET?
Define serialization in .net?
What is the advantage of using system.text.stringbuilder over system.string?
What are the parts of the visual basic control?
Write a VB.Net console program to check whether a number is perfect or not.
What is the importance of a Button control?
What are jagged arrarys ?
Which control is an example of an object in vb net?
What is meant by jagged arrays?
What is globalization?
Explain private assembly?
How can we remove handlers at run time?