| by Đạt Trần | No comments

Builder Pattern In Java

Keys to remember Outer class has a public static Builder class Outer class has a private constructor that takes an instance of the builder The Builder has method to set value to the properties The Builder class has a build() method that call the outer class’ constructor (that takes one Builder instance) Inside the outer’s […]

Read More