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

Can bool be null?

932


What should I import for arraylist in java?

967


What is the difference between error and an exception?

1058


Should you use singleton pattern?

896


What is treeset in java?

940


Why do we use regex?

950


How is tree Mirroring implemented?

1000


Does a class inherit the constructors of its superclass in java programming?

1007


Can a class be a super class and a sub-class at the same time? Give example.

1444


Can You Have Virtual Functions In Java?

1081


What is a double vs float?

943


What is constructor chaining in java?

1017


Explain notify() method of object class ?

1032


What is a “stateless” protocol ?

937


Differentiate between overriding and overloading cases?

1039