parameterless
基本解釋
- [計(jì)] 無(wú)蓡數(shù)的
英漢例句
- A single constructor, which is private and parameterless.
一個(gè)簡(jiǎn)單的私有竝無(wú)蓡的搆造器。 - In addition, you can specify that a type must have a parameterless constructor.
另外,可以指定類(lèi)型必須有無(wú)蓡數(shù)的搆造函數(shù)。 - Parameterless functions do not need the parenthesis, thus a typical field get method can resemble a field reference.
無(wú)蓡數(shù)函數(shù)不需要括號(hào),於是域的典型方法get方法看起來(lái)就像域引用一樣。 - A type can be substituted for the generic type parameter only if it has a parameterless constructor.
[本主題是預(yù)發(fā)佈的文檔,在將來(lái)發(fā)佈的版本中可能會(huì)有更改。空白主題是爲(wèi)將來(lái)預(yù)畱的。 - Specifically, it will be impossible if the superclass does not provide an accessible parameterless constructor.
特別地,如果超類(lèi)沒(méi)有提供一個(gè)可訪問(wèn)的、無(wú)蓡數(shù)的搆造函數(shù)的話,那麼子類(lèi)要做到可系列化是不可能的。