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 is difference between abstraction and interface?

Answer Posted / kavitha

Abstract classes define methods and interfaces declare
methods.
Interfaces declare methods without implementation.
Abstract classes are very much useful when there is a same
functionality across various classes.
Interfaces are useful for classes which varies in
functionality and with the same method signature.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an immutable object?

1038


Can a final variable be null?

956


What is outofmemoryerror in java?

970


Write a program to reverse array in place?

1017


Define immutable object?

1008


From the two, which would be easier to write: synchronization code for ten threads or two threads?

1002


Explain about serializable interface in java?

938


How do I enable java in safari?

982


How do you create immutable object in java?

990


What are the different types of multitasking?

1040


Can java inner class be static?

976


What data type is a string?

960


Why vector class is used?

932


Write a java program for binary search?

1011


What is package protected in java?

921