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

Can we declare a static variable inside a method?

992


What does += mean in java?

1068


What is a treeset class?

1000


Difference between process and thread?

1025


How would you convert bytes to string?

979


What is the purpose of java?

1001


How many wrapper classes are there in java?

1010


What is role of void keyword in declaring functions?

1046


Do loops java?

1009


How will you reverse a link list without using recursion?

1031


Does constructor be static?

1029


Can we declare array without size in java?

1028


What is the use of using enum to declare a constant?

1019


what is synchronization and why is it important? : Java thread

1078


Why generics are used in java?

1030