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 are the diffrences between interface and abstract
class?

Answer Posted / cool

=>Interface :
1. All the methods in the interface are abstract.
2. We can achieve multiple inheritance through interface.
3. All the methods in the interface should be without
Access modifier. Implicitly public.
Abstract class:
1. Abstract class may contain abstract method and non-
abstract method.
2. We can achieve only single inheritance and multi-level
inheritance.
3. Abstract methods have Access modifiers.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

According to java operator precedence, which operator is considered to be with highest precedence?

1079


What is a double vs float?

994


How long will it take to learn java?

980


What is identifier give example?

1023


Explain different types of wrapper classes in java?

1007


why an outer class cannot be declared as private?

4295


What is the difference between hashmap and hashtable in java?

1108


What is string builder?

882


Why are constructors used?

1017


What is autoboxing in java?

1057


Which class is the superclass of all classes?

1102


What is java reflection api?

1005


What is finalize() function in java?

1005


What is the final keyword?

979


Which collection is thread safe in java?

980