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
What is the difference between .dll extension and .exe extension files?
What is the use of system.diagnostics.process class?
What is difference between inline and code behind?
Explain i.tostring method?
Write the role of new keyword?
How many classes a dll can contain?
What is the use of assembly?
Explain and brief about rapid application development tool?
Which namespace are used for accessing the data?
Using VB, how can you change the Mouse Pointer?
Explain the observations between vb.net and vc#.net?
Explain redim keyword?
what is commom language runtime?
how many server control present in .net
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?