Java Initialize Set with Values in One Line

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • In this Java Collections framework video, I'd love to share with you guys, about how to create and initialize a Set collection with some default values in just a single line. It will make your code shorter, more succinct and nicer.
    I will also explain why the returned Set is immutable and how to create a modifiable one.

Комментарии • 2

  • @brazo98
    @brazo98 5 месяцев назад

    Nice Nice Nam. I wish you a nice weekend. 🖖🖖🖖

    • @CodeJava
      @CodeJava  5 месяцев назад

      Thanks, you too!