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
Differentiate strong typing and weak typing
Can you set the session out time manually?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
Web API uses which library for JSON serialization?
Can you explain architecture of your project ?
Explain about asp.net state management?
How many types of controls are there in asp.net?
Explain how can you debug your .net application?
Which is better session or viewstate?
How to deploy/publish webservices?How many ways?Plz explain me
Explain server side state management system.
Which protocol is used in a web api?
What is the file extension of web service?
What are the event handlers that we can have in global.asax file?
What do you mean by role-based security?