- length
- arrays(int[], double[], String[])
- length는 배열의 길이를 알고자 할때 사용된다.
- length()
- String related Object(String, StringBuilder etc)
- length()는 문자열의 길이를 알고자 할때 사용된다.
- size()
- Collection Object(ArrayList, Set etc)
- size()는 컬렉션프레임워크 타입의 길이를 알고자 할때 사용된다.
출처: https://mine-it-record.tistory.com/126 [나만의 기록들:티스토리]