开发者

Default value for int in text field

I want to change default开发者_如何学运维 value for int property to empty field not 0. How can I do it?


You need to use Integer class and not int for that.
An int will always be initialized to 0 It can't be null.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜