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
have you checked the JVM configured in your eclipse project? Go to configure build path and then check if the correct libraries are included