This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?