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 / chandra rekha

A class becomes an abstract class when it has atleast one
abstract method(a method with no definition).The major
difference between abstract classes and interfaces is that
an abstract class can contain both methods with zero
definition as well as methods with definition.But an
interface is one in which all the methods are with no
definition.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we call the constructor of a class more than once for an object?

1054


What is default locale java?

1059


Explain illegalmonitorstateexception and when it will be thrown?

1060


What is object data type?

959


What is the common usage of serialization?

1086


Write a java program to generate fibonacci series ?

1030


What is compiler and what its output.

1091


Can we have any code between try and finally blocks?

982


What is difference between static and abstract class?

968


What is Enum in Java?

1227


How do you compare objects in java?

892


Explain jdk, jre and jvm?

927


How do you compare two objects?

890


Differece between class and generic class?

990


What is a default constraint?

1031