Replies: 2 comments
-
Set과 List는 모두 자바 컬렉션 프레임워크의 인터페이스입니다. 차이점은 다음과 같습니다.
요소의 중복 여부와 순서에 따라 데이터를 저장하고 관리해야 하는 경우 List를 사용하며, 중복을 허용하지 않고 순서가 중요하지 않은 경우 Set을 사용합니다. |
Beta Was this translation helpful? Give feedback.
0 replies
-
List: 데이터의 입력 순서가 중요한 경우나 동일한 항목을 여러 번 포함해야 하는 경우 사용한다. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.
Beta Was this translation helpful? Give feedback.
All reactions