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...

Difference between abstract class and Interfaces?

Answer Posted / ranganathkini

An Interfaces defines a public contract of methods for the
classes that implement it. An implementing class must
implement all the method defined by the interface.

An abstract class on the other hand not only defines a
public contract of methods but may also provide partial
implementation of some or all of the class methods. A
subclass of an abstract class inherits the partial
implementation (if any) or must provide a concrete
implementation of the abstract methods.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the methods of object class ?

996


Describe what happens when an object is created in java ?

944


What is functional interface in javatpoint?

972


What are triggers in DB? Explain their types. How do they work?

1033


What is try-with-resources in java?

1100


What is the size of a string in java?

933


Tell us something about an iterator.

897


What is meant by distributed application? Why are we using that in our application?

909


Explain the usage of this with constructors?

973


What is substring 1 in java?

1058


What is indexof in java?

938


What is the impact of declaring a method as final?

963


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

1031


What is Recursion Function?

1127


Can we assign null to double in java?

960