JAVA8 Int[]를 Integer[]로 변환

EUGENE LEE·2022년 8월 30일
0

그외

목록 보기
2/4

int[] arr = new int[]{}
integer[] arr2 = Arrays.stream(arr).boxed().toArray(Integer[]::new);

profile
개발공부

0개의 댓글