class ClassA { public T t; } class Samp03 { public static void main(String[] args){ ClassA ca1 = new ClassA(); ca1.t = new Integer(10); ClassA ca2 = ca1; Number n = ca2.t; System.out.println(n); } }