class ClassA { public T t; } class Samp02 { public static void main(String[] args){ ClassA ca = new ClassA(); ca.t = new Integer(10); System.out.println(ca.t); } }