property代替setter和getter
Book: (, name, price): ._name = name ._price = price name(): ._name name(, name): ._name = name price(): ._price price(, price): price > : ._price = price : ()book = Book(, )(book.name)(book.price)book.price = (book.price)
赞 (0)