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
This works without cast since Java 1.5.
package java.util; public interface List extends Collection { .... E get(int index); .... }
Maybe useful: Java Generics