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 java abstraction with example?

977


What is role of void keyword in declaring functions?

991


What is garbage collection? What is the process that is responsible for doing that in java?

1054


Can an interface be defined inside a class?

999


What is java in detail?

1022


Is hashmap thread safe?

932


Difference between arraylist and hashset in java?

1067


What do you mean by jjs in java8?

942


What will happen when using pass by reference in java?

923


How many types of assembly languages are there?

919


Describe string intern() methodology

1015


How many ways can we create singleton class?

914


What is difference between equals and hashcode method?

1042


What is the purpose of nested class in java?

1014


What is static keyword in java?

949