posted 17 years ago
Hi All,
Class A extends BaseCls
Class B extends BaseCls
Class[] myArr = {A.class, B.class};
Eclipse promotes me that I can use generic type in Class i.e. Class<T>.
So how to create the generic type?
I tried Class<BaseCls>[] and Class<? extends BaseCls>[], both are not correct.
any1 can advise? thanks a lot!
=======================<br />SUN: SCJP, SCWCD, SCBCD, SCEA, SCDJWS<br />BEA: Certified Architect<br />M$: MCP, MCSA