setclass setAdapter class定義變量為什么要加get set?無(wú)法從外部訪問(wèn)私有屬性,因此在類中定義get set方法以便于外部訪問(wèn)。... 2021-03-14 1303次瀏覽