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 / muthusenthil

Abstract class contains one or more unimplemented methods
left for future implementation by its derived class.it has
all property of class it cannot be instantiated.it provides
default behaviour.

Interface is mear specification nothing is implemented its
just a declaration.in java using interface we can model
multiple inheritance. it provides design flexibility.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do generics work in java?

1025


Can substring create new object?

1121


Can singleton class be serialized?

946


If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

1176


What is a ?

1199


Give us the name of the list layoutmanagers in java?

924


what methods would you overwrite in java.lang.object class?

1002


How many characters is 2 bytes?

984


How does sublist works in java?

972


What does void * mean?

1033


Why are data types important?

1085


What is the difference between numeric and integer?

1008


What is the difference between replace and replace all?

1021


Can a class be protected in java?

966


What is return code?

1002