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 size_t be negative?

1243


What is arraylist e in java?

1104


What is finalize() function in java?

1063


Why string is not thread safe?

1044


Can a class have multiple constructors?

1132


When should the method invokelater() be used?

1068


What does flagged out mean?

1116


How many digits can a float hold?

1064


Can we convert list to set in java?

1048


What is an array length?

955


Are registers volatile?

975


What is class forname used for?

1101


How do you make an arraylist empty in java?

984


What is jar?

1172


What does java stand for?

1199