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

What is the purpose of methodology?

1043


What is lexicographically smallest string?

1032


What is variable and its types?

985


What are the access modifiers in java?

1011


Is null false in java?

1157


Explain the scope or life time of class variables or static variables?

952


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

2459


What is ascii format?

957


What does next mean in java?

940


what state does a thread enter when it terminates its processing? : Java thread

1008


Why spring singleton is not thread safe?

970


What is public/private protected in java?

1008


What is use of set in java?

950


What is difference between static variable and global variable?

1016


What is the use of System class?

1121