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 / brgkkc

1) Abstract class defines few or none of the methods, but
interface defines all the methods..
2) Abstract classes should have subclasses else that will
be useless..
Interfaces must have implementations by other classes else
that will be useless
3)only an interface can extend another interface, but any
class can extend an abstract class..
4)All variable in interfaces are final by default

Is This Answer Correct ?    444 Yes 531 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between primary & secondary storage device? : Dot net architecture

918


what are constructors and destructors?

2096


Are there any third party logging components available?

890


What is the application frame host?

911


Explain cache? : Dot net architecture

936


data types used in validation control

2161


Explain cache memory? : Dot net architecture

904


How does an appdomain get created?

904


what is polymorphism and advantage ?

1932


5. Wcf- Session Managment

1937


How resource files are used in .net?

984


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

910


Can I create my own metadata attributes?

982


What is .net mobile automatic paging? : Microsoft dot net mobile

942


What are relation objects in dataset?

933