Language/Java
자바(Java) the method sort(int ) in the type arrays is not applicable for the arguments 문제 해결 방법
츄르사려고 코딩하는 코집사입니다. 자바(Java) the method sort(int ) in the type arrays is not applicable for the arguments 해결 방법 우리가 알고리즘을 풀다 보면, 배열이나 List 등을 내림차순이나 오름차순으로 정렬해야 하는 경우가 생기곤 한다. 그럴 경우에 자주 볼 수 있는 에러는 the method sort(int ) in the type arrays is not applicable for the arguments 이 문제는 기본 타입을 Wrapper Class로 바꿔서 사용하면 된다. 기본타입 / Wrapper Class byte Byte short Short int Integer long Long float Float double ..
2021. 2. 11.
최근댓글