Overview of Java: Key Functional Programming Concepts & Features – Immutable Objects

Опубликовано: 28 Октябрь 2022
на канале: Douglas Schmidt
785
10

This video describes how immutable objects and immutable collections in modern Java are objects whose state remains constant after being entirely constructed. We also examine a case study that uses immutable objects to fix problems with the BuggyFactorial covered in the previous part of this lesson.

All the code shown in this video is available in open-source form from
github.com/douglascraigschmidt/ModernJava/tree/main/FP/ex2.