How different are interface and abstract class in .Net?
Answer Posted / vara prasad
In both Interface and Abstract classes we cannot create a
object but abstract classes can be inherited and we can
create a object for that derived class.
Abstract classes may contain concrete methods as well as an
Implementation of methods where as Interface doesn't
contain any implementation it just contains concrete
methods and to use those methods in interface we need to
inherit that interface and have to make sure that all
methods in the interface are implemented or else even the
derived class becomes an Interface.
Is This Answer Correct ? | 26 Yes | 6 No |
Post New Answer View All Answers
Explain the procedure to add assemly to gac to make it shared one?
Explain can 2 different applications use the same dll in gac at the same time?
How do you view the methods and members of a dll?
What is the intermediate language between asp and asp.net1.0?
Explain why do we use the “using” statement?
What is an assembly? What are the different types of assemblies?
What are the new 2.0 features useful for?
The project which you have made, which methodology did you use?
How viewstate is being formed and how it's stored on client in .net?
What's the problem with .net generics?
What is COM Interoperability in .NET
What is lambda expressions in c#?
What are multicast delegates?
Explain code access security.
how can i create a table from front end to back end in wabe page?