multidimensional-array tag

1 questions


1 answers
37 views
0
Syntax error to make 2D array.

int[][] multD = new int[5][];multD[0] = new int[10];인터넷에서 5x10배열 만드는 소스라고 이런 소스를 봤는데 문법에러가 납니다.Why is that?


© 2024 OneMinuteCode. All rights reserved.