I am using java 1.5.0_15. I have a following piece of java code in eclipse
The line Iterator i = daos.iterator(); is giving error The type Iterator is not generic; it cannot be parameterized with arguments <E>.
I have checked the java build path in eclipse. It is jre 1.5.0_15.
What could be the possible reason for this problem?