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 how to manage pagination in a page using .net?
What is immutability?
Tell me about secure socket layer? How to make use of the technology?
Explain what rare the types of jit and what is econo-jit?
How many namespaces are in .net version 1.1?
State the various features present in .NET?
How do you trigger the paint event in system.drawing?
Please explain is the jit an interpreter?
When we use windows api in .net is it managed or unmanaged code?
Define satelite assembly?
I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.
Is .net capable of supporting multi-thread?
Define marshling?
What are the properties of ADO.NET?
How to view a .NET assembly?