I'm taking here about Iterators, Lists, etc.. , when trying to declare it without assigning parameters:
List mylist;
Iterator mykey;
I got the warning:
List is a raw type. References to generic type List<E> should be parameterized
but when change it to:
List <?> mylist;
Iterator <?> mykey;
the warning disappears like if I solve the problem which didn't happen as I'm didn't assign a Solid Parameter to it. So, what makes the Compiler ignores the warning when giving it that generic parameter? and why Java don't consider that not giving it a parameter is like giving it a generic parameter as in both cases I can completing the initialization process with the same RHS.