title: Why to use nested class in builder design pattern, why can't use setters to build the object in the same class
body: <p>I've visited few sites regarding java builder design pattern. Most of them are showing, to build the class we need to add static nested class by calling the respective setters, then triggering object creation. But query is, why can't we use those setters in the same class without the static nested class.</p>