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

What is the difference between ASP Session State and ASP.Net Session State?

785


List down the sequence of methods called during the page load.

709


What does uri mean?

692


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

769


Where session id is stored?

714


Is asp net front end or backend?

721


What type of code, client-side or server-side, is found in a code-behind file of a Web page?

762


How to display validation messages in one control?

737


What is skin in asp.net?

684


Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

726


Explain difference between dataset and recordset?

690


Why the javascript validation not run on the asp.net button but run successfully on the html button?

728


What are early binding and late binding.

812


What is httpresponse?

708


Explain how dot net compiled code will become platform independent?

721