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

i want the csharp questions&answeres

1970


Can we overload the main method in c#?

954


How do I create multifile assembly?

940


What is the file extension for c#?

1041


Why do we use namespace in c#?

961


How can I produce an assembly?

1044


What is the default value of string in c#?

1014


Explain the three test cases in unit testing?

1024


Explain how to implement delegates in c#.net

964


Explain manifest & metadata in c#.

1014


Does c# have its own class library?

988


Explanation on Generic?

978


Which is more efficient for loop or while loop?

887


What is overloading with example?

929


What is the relation between classes and objects?

968