• Java's ArrayList uses a fail-fast iterator. • When you use a for-each loop, it internally uses an Iterator. • If you structurally modify the list (e.g., add(), remove()) directly on the list (not ...
1.if we don't know anything about implementation just we have requirement specification then we should go for interface. 2.inside interface every method is always public and abstract whether we are ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results