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 the new three features of COM+ services, which are not there in COM (MTS)
Please explain what do the terms “boxing” and “unboxing” mean?
How can I find out what the garbage collector is doing?
How does u handle this COM components developed in other programming languages in .NET?
Explain about .Net products?
What is 3 tier architecture?
Explain about .net?
Explain how com+ related to the dna architecture?
What is lazy initialization?
What do you mean by Code Access Security in .NET?
Explain me what is the difference between a class and an object, and how do these terms relate to each other?
How do you trigger the paint event in system.drawing?
What is iis? Have you used it?
How to load the contents of an xml file into an xmldocument object?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it.