The main disadvantage of static factory methods is that classes without public or protected constructors cannot be subclassed.
英
美
静态工厂方法的主要缺点是,类如果不含公有的或者受保护的构造函数,就不能被子类化。
目录
查词历史
英 汉