Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to create a <T>T[] array ?

843793Apr 5 2005 — edited Jun 6 2005
Greetings,

Not able to create a generics array. new <T>T[] raises compile error saying that ... I'm trying to create a generics array. I know, I'm doing it on the purpose. It must be possible to create a generics array but how ?

Many thanks in advance.

Nick
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2005
Added on Apr 5 2005
24 comments
415 views