Contrast the use of an abstract base class against an interface?

Answer Posted / rajeev kumar singh

An abstract class can have abstract as well as non abstract
methods whereas the interface can have only the abstract
methods.
An Abstract inherit a class, an abstract class and implement
an interface. But interface can only implement another
interface.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What can we do with asp.net?

678


What is a web based system?

661


What is session in http request?

769


Disable browser cache for entire ASP.NET website?

862


How do you open a page in a new window?

738


Explain About WebService

874


Explain http handlers? Where we can use the http handlers?

925


What is asp.net master page?

739


Define session in asp.net.

708


How can we create Tree control in asp.net?

771


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?

796


Explain how can we inherit a static variable?

744


What is enableviewstatemac in asp net?

767


What is jade template engine?

773


What is a query string in a url?

725