The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
March 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

initializationof arrays

Posted by tejinder singh on March 05, 2001 at 12:57 PM

why can't i initialize a two dimensional array like this
int[][] one =new int[2][];
one[0]={2,3,4};
one[1]={3,3,3};



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us