To sort the strings list alphabetically, we use the sort method on the colors list. The lambda expression (str1, str2) -> str1.
確定! 回上一頁