What is an Interface and What is an Abstract Class?

Answer Posted / lalit

An abstract class is a parent class that allows inheritance
but can never be instantiated

Abstract classes are the classes with no implementation of
methods or concerete implementation of methods

An Interface can inherit several interfaces.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which situation can you not use a viewstate?

709


What is Web Server Control Templates.?

773


What is a SESSION and APPLICATION object?

757


What are strong names?

770


Can the unique key be null?

802


what are the security certificates used in webservices?

1712


By default, Web API sends HTTP response with which of the following status code for all uncaught exception?

1256


What are the main requirements for caching?

743


Does asp.net still recognize the global.asa file?

717


What is the difference between page-level caching and fragment caching?

716


Explain cashing in asp.net.

700


What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

740


What is data binding in asp net?

789


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

793


What is clickid?

742