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 Interface & Abstract class?

Answer Posted / janet

1.All the methods declared inside an interface are abstract
where as abstract class must have atleast one abstract
method and others may be concrete or abstract.

2.In abstract class ,keyword abstract must be used for the
methods where as interface we need not use that keyword for
the methods.

3. Abstract class must have subclass where as interface
can't have subclasses.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create a reference in java?

982


What is difference between core java and java ee?

901


Can we force the garbage collection to run?

951


How do you remove an element from an arraylist in java?

1010


Can substring create new object?

1125


Java is pass by value or pass by reference? Explain

991


What is difference between synchronize and concurrent collection in java?

1075


What is difference between jdk,jre and jvm?

1125


how come we know the object is no more used in the class?

6468


What are java annotations?

1164


what is predefined function in java?

984


What is boolean query?

985


What are the steps involved to write rmi based programs?

1019


How are multiple inheritances done in Java?

1144


Explain the difference between abstract classes and interfaces in java?

1183