Java Generics not working

后端 未结 5 643
孤独总比滥情好
孤独总比滥情好 2021-01-29 15:45

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

package com.wi         


        
5条回答
  •  终归单人心
    2021-01-29 16:05

    have you checked the JVM configured in your eclipse project? Go to configure build path and then check if the correct libraries are included

提交回复
热议问题