• 카테고리

    질문 & 답변
  • 세부 분야

    프로그래밍 언어

  • 해결 여부

    미해결

ArrayList와 mutableListOf의 차이점

22.09.16 11:52 작성 조회수 769

0

ArrayList<String>()는 <String>을 제거하면 값이 출력되지 않는데.. mutableListOf<String>()은 <String>을 제거해도 값이 출력되네요! 이게 맞는걸까요? 맞다면 둘의 차이점이 궁금합니다.

답변 1

답변을 작성해보세요.

0

안녕하세요

arrayList / mutableList의 차이가 아니라

ArrayList / arrayListof의 차이에 대해 질문주신 것 같습니다.

사용방법과 내부 구현에 대해 궁금하시다면 아래의 링크를 한번 참고해보시겠어요?

https://stackoverflow.com/questions/56166712/arrayliststring-vs-arraylistofstring

https://zladnrms.tistory.com/140

https://www.tutorialspoint.com/difference-between-list-and-array-types-in-kotlin

이해가 어려우시다면 한번 더 문의주세요 :)