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

Can you explain the difference b/n abtract and interface
with a good example,?In what cases we have use abtract and
what case interface?

Answer Posted / srihari

Interfaces are used to create prototype of classes. Interfaces would be using high-level access specifiers(public).

Abstraction is a mechanism in Java to expose the essential features of the class. Different levels of abstraction is achieved through Access specifiers.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of immutable regarding string?

970


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1220


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

968


What is string pool?

1129


What does file separator do in java?

1020


Why chararray() is preferred over string to store the password?

1028


Give few examples of final classes defined in Java API?

1204


State the significance of public, private, protected class?

1110


What is array and arraylist in java?

1117


What is == and === in javascript?

1060


Is a char always 1 byte?

992


Can you explain inner class.

1090


What is mean by exception?

1032


How to split arraylist elements in java?

1181


Is it possible to use string in the switch case?

1043