Could someone tell me the purpose of Inner classes and if iterator pattens should or a good idea to use inner classes?
<p>Could someone tell me what the purpose of inner classes are? Also when designing the iterator pattern do we have to use inner classes? Would it be better to use inner classes?</p>
