Arrays.asList vs. List.of #java #shorts #coding #airhacks

9 Просмотры
Издатель
What is the difference between Arrays.asList https://download.java.net/java/early_access/jdk22/docs/api/java.base/java/util/Arrays.html#asList(java.lang.Object[]) and List.of https://download.java.net/java/early_access/jdk22/docs/api/java.base/java/util/List.html#of(java.lang.Object)?

Java used in this short: openjdk version "21" 2023-09-19 LTS

Visual Studio Code used for editing: https://code.visualstudio.com/

See you at live, virtual workshops: https://airhacks.live
About me: https://airhacks.industries

#airhacks
Категория
Программирование на java
Теги
java, tutorial, tip
Комментариев нет.