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 a method in java?

1055


What is the significance of continue jump statement? Explain with an example.

1291


What is t type java?

1068


What do you mean by checked exceptions?

960


What is a functional interface?

1044


What are latest features introduced with java 8?

1091


what r advatages of websphere? & how to deploy?

2196


What is heterogeneous in java?

964


How to read and write image from a file ?

1049


What is a local class in java?

1046


Is void a wrapper class?

952


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

932


What are encapsulation, inheritance and polymorphism?

1015


Why do we declare a class static?

1157


What are different types of constants?

1052