![]() |
Sponsored Link •
|
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:
> why can't i initialize a two dimensional array like this because you can only use the { } notation in a declaration statement. However, you can initialize it like this: int[][] one = {{2, 3, 4}, {3, 3, 3}};
Replies: |
Sponsored Links
|