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 declare an array of Vector<double[]> ?

843793Aug 6 2005 — edited May 27 2010
Hi,
would like to declare an array of Vector<double[]>.
How to tell this the compiler ?
Thanks

Predict.java:36: ';' expected
private Vector<double[]> test[]=new Vector<double[]>[ 3 ]();

Predict.java:36: generic array creation
private Vector<double[]> test[]=new Vector<double[]>[ 3 ];

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 24 2010
Added on Aug 6 2005
9 comments
452 views