String java.util.Arrays.toString(int[] a)

송병훈·2022년 3월 21일
0

method

목록 보기
11/13

String java.util.Arrays.toString(int[] a)


지정한 배열의 내용에 대한 문자열 표현을 반환합니다. 문자열 표현은 대괄호("[]")로 둘러싸인 배열 요소 목록으로 구성됩니다. 인접 요소는 문자 ", "(쉼표 뒤에 공백이 있음)로 구분됩니다. 요소는 String.valueOf(int)와 같이 문자열로 변환됩니다. a가 null이면 null을 반환합니다.

파라미터:
문자열이 반환되는 배열 a

반환값:
a 의 문자열 표현

언제부터?:
1.5


Returns a string representation of the contents of the specified array. The string representation consists of a list of the array's elements, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (a comma followed by a space). Elements are converted to strings as by String.valueOf(int). Returns "null" if a is null.

Parameters:
a the array whose string representation to return

Returns:
a string representation of a

Since:
1.5

profile
성실하고 꼼꼼하게

0개의 댓글