1 /*--------------------------------------------------------------------------*/
2 /* file_name : err4.java */
4 /* Cause : Evaluation of the array which used the substitution */
5 /* : operator is not performed correctly. */
7 /* Message : NG1:[27}-->[9.0] */
8 /* : NG1:[27}-->[9.0] */
9 /*--------------------------------------------------------------------------*/
12 public static void main(String
[] args
) {
19 System
.out
.println("OK1");
21 System
.out
.println("NG1:[27}-->["+a
[0]+"]");
26 b
[0] = (float)(b
[0] * (b
[0] = 3f
));
28 System
.out
.println("OK1");
30 System
.out
.println("NG1:[27}-->["+b
[0]+"]");