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
What is managed code execution?
What are the collections you've used?
When we use windows api in .net is it managed or unmanaged code?
What is the difference between encrypting a password and applying a hashing?
What is Event Bubbling in .NET?
Please explain what do the terms “boxing” and “unboxing” mean?
Describe difference between inline and code-behind?
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?
What is the difference between response.write & response.output.write?
Is atl redundant in the .net world?
Explain security measures exist for .net remoting in system.runtime.remoting?
If any body working in Infosys, please can u give me the referense to that company because i hered that their is openings for freshers with referal..
Describe the compilation process for .net code?
What is meant by globalization?
Explain code access security.