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

Can we declare a class as static?

1094


what is mena by object block any what is the use of that

2212


How do I print a “?

997


What are the loops in java?

985


Explain the pointers in Java?

1050


Explain the advantages of packages in java?

914


What is a substring of a string?

1159


What is adapter in java?

920


What is difference between array and arraylist in java?

988


What is sizeof in java?

1105


What are exceptions

1096


When will we use them?

1047


What is an example of a keyword?

1102


What is logical variable?

978


What is java util hashmap?

979