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 the diff. b/w Interfaces & Abstract class?

Answer Posted / supriyo pal

There are three main differences between an interface and an abstract class:
• At the same time multiple interfaces can be implemented, but only extend one class
• an abstract class may have some method implementation (non-abstract methods, constructors, instance initializers and instance variables) and non-public members
• abstract classes may or may not be a little bit faster

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What modifiers may be used with a top-level class?

1064


What does a za z0 9 mean?

1105


What are the 3 types of loops in java?

1086


What is bufferedreader in java?

1046


What is string args [] in java?

1031


What are peerless components in java programming?

1013


What is a protected class in java?

995


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1016


Where is core java used?

1013


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

1106


What is the difference between the file and randomaccessfile classes?

1096


Is it possible to specify multiple jndi names when deploying an ejb?

996


What is instanceof keyword?

1215


Is null keyword in java?

944


What is the current version of java?

1038