What will be the output of the following program?
public class GenericsErasureDemo {
public static void main(String args[])
{
GenericsErasure<Integer> integerObject = new GenericsErasure<Integer>(12);
System.out.println(integerObject.getClass().getName());
}
}
class GenericsErasure<T> {
T obj;
GenericsErasure(T obj)
{
this.obj = obj;
}
}