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

What is difference between Fragment Caching and Page Caching in ASP.NET?

583


ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1471


What is a proxy in web service?

563


What is Pre-Render event in ASP.NET?

598


Explain the asp.net page life cycle.

560






Why should i prefer JSP over asp.net or any other web development language..??

1449


Explain Features in ASP.NET

581


What is sdlc process?

530


How can we make sure that Web API returns JSON data only?

547


Explain what is postback in asp. Net?

554


What are session and cookies?

536


Explain ViewState?

585


Where do the cookie state and session state information be stored?

516


How can we pass info between 2 asp.net pages?

565


How to deploy/publish webservices?How many ways?Plz explain me

1845