Rosetta Code:Village Pump/Suggest a programming task: Difference between revisions

Line 284:
 
* In object-oriented programming, show how a subclass's constructor can explicitly pass arguments to its superclass's constructor to initialize its base object (instance of the superclass). --[[Special:Contributions/98.210.210.193|98.210.210.193]] 09:02, 29 March 2011 (UTC)
 
* Remove some elements from a mutable collection while iterating through it, based on some condition of the element. Related to [[Filter]], but modifying the existing collection rather than creating a new one. This is a challenging task, because removing the element you are currently iterating over, may affect the iteration itself (changes indexes / affects iterators). --[[Special:Contributions/208.80.119.67|208.80.119.67]] 19:32, 5 April 2011 (UTC)
 
==Insufficient information==
Anonymous user