Generics gurus,

Assuming I have the following class:

public class Test<T> {
...
}

1) Is there a way to get the Class object for T in class Test? I know T.class 
is illegal.
2) Can I create the an instance of Test using a Class object myClass. I know 
new Test<myClass> is not valid.

Thanks,
Raymond 

Reply via email to