More advanced usage of interfaces
- by owca
To be honest I'm not quite sure if I understand the task myself :) I was told to create class MySimpleIt, that implements Iterator and Iterable and will allow to run the provided test code. Arguments and variables of objects cannot be either Collections or arrays.
The code :
MySimpleIt msi=new MySimple(10,100,
…