Telescoping constructor in Java - why calling construrucotrs in culiminative way instead of always calling the same “final” constructor?

前端 未结 0 1173
小蘑菇
小蘑菇 2021-02-08 21:01

In Effective Java, Item 2, Joshua Bloch suggests using the Builder DP in oppose to the telescoping constructor. I don\'t understand why telescoping constructor has to call every

相关标签:
回答
  • 消灭零回复
提交回复
热议问题