Get and set methods of type attributes
hxj
hxj 2021-04-11 19:21:04
0
0
1001

Writing the get method like this, is the value of the type attribute fixed? How to write the set method?

class Score{

class var total : Int {

get{

return "99"

}

}

}  

hxj
hxj

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template