jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes  Collection program not working as expected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark " Collection program not working as expected" Watch " Collection program not working as expected" New topic
Author

Collection program not working as expected

shuba gopal
Ranch Hand

Joined: May 12, 2011
Posts: 76
Hi the following program is from Deitel with minor modifications. The method removeColors is just as it is in the book. The colors BLUE,RED,GREEN are expected to be removed but they are still present after the method runs.




shuba gopal
Ranch Hand

Joined: May 12, 2011
Posts: 76
Hi I made some changes to the program and it worked. The SOP after removeColors() had to be modified. Thanks



I panicked because its Collection. Thanks

 
jQuery in Action, 2nd edition
 
subject: Collection program not working as expected
 
Similar Threads
Struts 2 checkboxlist error - list key could not be resolved
Enum Type inhteritance
question on enum
problem with updating Panel!
AWT Event look for help