Which constructor is chosen when passing null?

前端 未结 3 2006
醉话见心
醉话见心 2021-01-17 23:24

In the following example, I have 2 constructors: one that takes a String and one that takes a custom object. On this custom object a method \"getId()\" exists which returns

3条回答
提交回复
热议问题