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

IN java collections we have both interfaces and classes.
instead of using interfaces why we can't use classes only
like that why we can't use interfaces only. why we need two
things interface and class.

Answer Posted / rajesh r

In a word to achieve Polymorphism

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain method local inner classes ?

1028


What is unicode in java?

925


What is java lang string?

978


What is append function?

991


Explain about the security aspect of java?

965


How can we use primitive data types as objects?

957


Difference between throw and throws?

1099


What is the purpose of extern variable?

1015


Is main an identifier?

1004


What is the meaning of variables in research?

1032


What is an eror in java?

1047


Can we have any code between try and catch blocks?

982


What is the difference between method overriding and overloading?

1226


What is the difference between form & report?

1034


What are the different tags provided in jstl?

952