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...

What?s the difference between an interface and abstract class?

Answer Posted / rambabu gonela

java does't support multiple inheritance..to overcome this
problem.. java introduce new concept that is interface,
we cannot intantiate both interface and abstractclass.1)by
default in interface variables are public,static and final,
in abstract class we have to declare explicitly 2) methods
in interface public,nonstatic and abstract,where as in
abstract class we have to give....
3)we can implements more than one interfaces.. but we can
extends only one class..

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between iqueryable and ienumerable in c#?

871


What is gac? How to put assembly in gac?

1002


What is difference between event and delegate in c#?

918


Explain polymorphism in c# with a simple example?

932


Why static constructor is parameterless in c#?

1052


How does return work in c#?

972


What is the difference between a variable and a literal?

1057


What is difference between var dynamic and object in c#?

940


How to use nullable types in .net?

992


What is binding in c#?

910


What do you mean by serialization in .NET?

1028


How many digits is a 32 bit number?

895


In which way you can convert a value-type to a reference-type?

973


What is token in c#?

979


Can interface have virtual methods in c#?

887