1 /*--------------------------------------------------------------------------*/
2 /* Name : N19990310_3 */
4 /* Cause : Evaluation order miss, when make integer array. */
6 /* Message : NG:[4]-->[1] */
7 /*--------------------------------------------------------------------------*/
9 public class N19990310_3 {
10 public static void main(String[] args) {
14 int ary[][] = new int[x][x=1];
16 if ( ary.length == 4 ) {
17 System.out.println("OK");
19 System.out.println("NG:[4]-->[" +ary.length+ "]");