adspace
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
Explain the difference between datatable and dataset?
How to retrieve images in sql server database through vb.net?
Explain how can we remove handlers at run time?
What are the features of c# which are not present in vb.net?
Explain an assembly?
What is option strict?
How to store images in sql server database through vb.net?
What is early binding?
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
What is the use of assembly?
How to send xml file on server using http protocol?
Explain the difference between system.string and system.stringbuilder classes?