Using the Builder pattern to create objects in java
May 28, 2022 · 2 min read · Let's say we want to create an immutable class in Java, but there are just way too many fields to keep track of!! We could go the traditional way, and declare a parameterized constructor, along with getters and setters. But this would get real tediou...
Join discussion