Difference between abstract class and interface

Answer Posted / venu

Abstract class and interface

Abstract class we can declare variables here,bt interface we
cannot,interface methods are by default is public,bt
abstract nt.
abstract we can declare object bt we cannot declare instants
of the class.bt interface we cannot do both.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can access the properties and controls of master pages from content pages?

506


What is a web server? What are the load limits in it?

579


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

588


What is preprocessor in .net?

527


What is user control in asp.net?

508






What is difference between asp.net and asp.net mvc? : Asp.Net MVC

481


What is bound controls

579


What is repository pattern in mvc.net? : asp.net mvc

517


What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?

616


What does uri mean?

489


What is the file through which you can customize your asp.net application?

541


What are the disadvantages of using session?

460


Explain diff between dataset and datareader?

522


Do you know about caching with the datasource controls?

478


How many languages are supported by .NET at present time?

277