I started using Java a while ago so this is probably a silly question for most of you, I want to use Set in my code (assume I have a class T),
Set<T> mySet;
Eclipse gives my an error : The local variable mySet may not have been initialized. Than I tried to initialize it:
Set<T> mySet = new Set<T>();
but than Eclipse gives the error : "Cannot instantiate the type Set".
What am I doing wrong here ?