¡@

Home 

java Programming Glossary: probablyillegal

Multiple wildcards on a generic methods makes Java compiler (and me!) very confused

http://stackoverflow.com/questions/3546745/multiple-wildcards-on-a-generic-methods-makes-java-compiler-and-me-very-confu

import java.util. public class LOLUnknowns1 static void probablyIllegal List List lol List list lol.add list this compiles how come.. import java.util. public class LOLUnknowns3 static void probablyIllegalAgain List List extends Number lol List extends Number list lol.add.. wildcards and try to see if we can in fact invoke probablyIllegal in any way. Let's try the easy case first and choose the same..