What is an Interface and What is an Abstract Class?
Answer Posted / meraj khan
Abstract class:
Abstract class act as base class, not instantiable, no
implementaiotn in base class but allow implementaiotn in
derived class with overide method, method must be abstract.
specially used in inheritance.
Interface:
Interface class dont have constructor, destructor,
always public modifier set to true
no implementation
cant used multiple inheritance instead of this we use
multiple interface
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Is razor a programming language?
How can you implement encapsulation in asp.net?
Name some asp objects?
Explain how can we access static variable?
How to prevent client side validation from the ASP.NET validation controls?
What is the maximum number of classes that can be contained in one dll file?
Explain about asp.net 2.0 themes?
Which methods validate all the controls on a page?
Explain what does wsdl stand for?
What is the difference between runtime version and version?
How many ways are there to maintain a state in .net? What is view state?
What is marshalling ? Is it a part of asp.net ?
Explain asp.net mvc request life cycle? : asp.net mvc
They mostly asked difference between versions of technologies
What is ascx?