建造模式 将一个复杂对象分解成多个相对简单的部分,然后根据不同需要分别创建它们,最后构建成该复杂对象。 public class A_Builder { public static void main(String[] args) { Product product =