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

I want to persist data of objects for later use. What’s the best approach to do so?

924


What is null in java?

962


What are the basic control structures?

984


What is difference between c++ and java ?

1122


What does void * mean?

1033


What is the purpose of an interface?

1039


Is constructor inherited?

959


Are static members inherited to sub classes?

1137


What is generics in java interview questions?

1061


What are the differences between checked exception and unchecked exception?

964


What is console based application in java?

1033


Explain exception chaining in java?

1167


what is the difference between a threads start() and run() methods? : Java thread

1011


Is age a discrete variable?

971


How do you calculate roots in java?

1082