Why is it called nillable?

后端 未结 5 1187
忘了有多久
忘了有多久 2021-01-01 08:19

In an XML schema you can mark an element as nillable meaning it can take an explicit NULL value. See nillable and minOccurs XSD element attributes for a great e

5条回答
  •  粉色の甜心
    2021-01-01 08:53

    It comes from nil which is another term for null, used in XML. I don't think that there is any specific reason the one the be preferred over the other in different programming languages. It is just an expression. It is used in some sports too, to express 0. http://en.wikipedia.org/wiki/Nil

提交回复
热议问题