假设JavaFX类具有一个名为weight的绑定属性,其类型为DoubleProperty。 按照惯例,该类中定义了以下哪些方法? A: public double getWeight() B: public void setWeight(double v) C: public DoubleProperty weightProperty() D: public double weightProperty() E: public DoubleProperty WeightProperty()
假设JavaFX类具有一个名为weight的绑定属性,其类型为DoubleProperty。 按照惯例,该类中定义了以下哪些方法? A: public double getWeight() B: public void setWeight(double v) C: public DoubleProperty weightProperty() D: public double weightProperty() E: public DoubleProperty WeightProperty()
1