GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 471 of 502    Print  
remove() method collection
Which Underlying Collection will provide the remove() method?


  
Total Answers and Comments: 4 Last Update: May 28, 2008     Asked by: khadarzone 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: rariedel
 

Collection is an interface, and whatever class implements the interface must implement the remove() method.

This question is not a complete sentence and that makes it kind of difficult to understand the intent and then answer it appropriately.



Above answer was rated as good by the following members:
interviewprep9
April 15, 2008 01:55:38   #1  
aparna_sry Member Since: March 2008   Contribution: 1    

RE: remove() method collection
removes the uncessary garbage values
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
April 16, 2008 04:17:52   #2  
hemanth_1386 Member Since: April 2008   Contribution: 3    

RE: remove() method collection
It is defined in Iterator interface.
 
Is this answer useful? Yes | No
April 23, 2008 18:37:29   #3  
jrcheenu Member Since: April 2008   Contribution: 5    

RE: remove() method collection
It is used to remove the last element returned from the iterator. Its defined in the iterator.
 
Is this answer useful? Yes | No
May 28, 2008 19:40:53   #4  
rariedel Member Since: May 2008   Contribution: 8    

RE: remove() method collection

Collection is an interface and whatever class implements the interface must implement the remove() method.

This question is not a complete sentence and that makes it kind of difficult to understand the intent and then answer it appropriately.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape