Why Generics not working in my machine. Why below code not working in Eclipse without Type casting to the String. I am using Java 1.6
String
package com.wi
In eclipse, go to Window > Preferences > Java > Compiler and look up JDK compliance. Make sure it's at least 1.5.