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

What is difference between printf and scanf?

1228


Which package has light weight components in java programming?

1193


What is class forname used for?

1102


What is the use of beaninfo?

1099


Why do we use return statement?

1105


What are register variables what are the advantages?

940


What is a arraylist in java?

1128


What is arrays fill in java?

1060


How do you format in java?

1043


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

1053


What is difference between path and classpath in java?

1092


What is a stringbuilder?

979


Name few "optional" classes introduced with java 8 ?

1186


What is the integer of 16?

1038


What are the types of inner classes (non-static nested class) used in java?

1113