Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between abstract class and interface

Answer Posted / ashish gupta

1)Abstract class can have either declaration or definition
of any method,however an interface must declare a method
and it can not define it.

2)An interface makes some sort of contract to its
implementing classes to define all the declared methods
within those classes.

3)A class/subclass should Extend the abstract class while a
class/subclass should Implement the interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different pipelining hazards and how are they eliminated? : .NET Architecture

1078


I can't be bothered with cas. Can I turn it off?

990


Whate are resource files? How are they used in .net?

967


What do you know about machine.config file ?

994


How does .net remoting work?

1148


Session State and can i store desirialized object in state server, if yes how and if not why.

1834


What is the difference between l1 and l2 cache? : Dot net architecture

995


What is an asssembly qualified name? Is it a filename? How is it different?

995


inprocess vs out process session state : Dot net architecture

997


Explain about appdomains?

1071


Define the mesi? : Dot net architecture

979


Explain difference between inprocess vs out process session state? : .NET Architecture

1043


What does the term "green architecture" mean? : .NET Architecture

1022


IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class

2055


What is the purpose of Treeview control?

1053