I have the following
public class bucket<String,Integer>{
private Integer num;
.
.
.
public bucket(){
num=new Integer(100);
}
}
Eclipse spits out an error saying that it cannot instantiate the type Integer.
Why is it saying this?