mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 11:47:50 +07:00
14 lines
271 B
Java
14 lines
271 B
Java
// "Replace with toArray" "true"
|
|
|
|
import java.util.Arrays;
|
|
|
|
public class Test {
|
|
public void test(int bound) {
|
|
Object[] arr = new Integer[bound];
|
|
for(int <caret>i = 0; i < bound; i++) {
|
|
arr[i] = i;
|
|
}
|
|
System.out.println(Arrays.toString(arr));
|
|
}
|
|
}
|