What is the differances between a abstract calss and
interface

Answer Posted / gyan

abstract class may contain concreate methods with abstract
methods where as interface containls only abstract methods

by default all methods in interface are public
where as abstract class can contain all modifiers except
private


abstract class involves in inheriting chain . where as
interfaces there is no need to follow inherit chain

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways to sending the data in ASP.NET page?

740


Explain difference between dataset and datareader?

791


How can we communicate with each server in N-tier Architecture? and what are the methods?

1974


Securitywise What are the Enhancements in 2.0?

1670


How long do session variables last?

712


What is application variable in asp.net?

655


What is the sequence in which ASP.NET events are processed?

680


What are the major built-in objects in ASP.NET?

791


What is web api config?

733


can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com

1698


What is a postback in asp net?

788


What is distributed system in asp.net?

753


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

756


What is http response header?

792


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

845