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 main difference b/w abstract class and interface

Answer Posted / shikha sharma

1) Every method in interface class should be abstract, but
this is not necessary in abstract class.

2)abstract class is a class which must have at least one
abstract method.
interface is a class which having all abstract methods.By
default interface methods are public abstract.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the right data type to represent a price in java?

936


Difference between method overloading and overriding.

1062


What are the new features in java 8?

1001


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

968


What is an object in java and how is it created?

1037


Can java arraylist hold different types?

1050


What is java Applet?

1083


What is java util function?

1071


How does thread synchronization occurs inside a monitor?

1086


What is scope & storage allocation of static, local and register variables? Explain with an example.

999


Explain the Propertie sof class?

1033


What about main thread in java?

1100


Is java good for beginners?

998


What is the difference between logical data independence and physical data independence?

1012


What is <> used for in java?

1099