If you do not declare a read method, the property is write-only. Write-only properties are seldom used.

  • 如果你不声明读取方法,那么属性是只写的。只写属性极少使用。
目录 查词历史