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

What is the difference between a synchronized method and a synchronized block?

1122


Is an array a vector?

1118


What is immutable data?

1110


Define how objects are stored in java?

1114


What is boolean used for?

1088


Which command from the jdk compiles a java program?

1040


what are the disadvantages of indexes in oracle?

2637


What is arrays aslist in java?

995


Explain about join() method?

1022


Why put method is idempotent?

970


explain what is transient variable in java?

1191


What is prefix of a string?

1080


Can sleep() method causes another thread to sleep?

1078


What does this () mean in java?

1021


What is difference between add() and addelement() in vector?

1582