-->
当前位置:首页 > 题库

单选题:To set a red color for the text in the label lbl, use _________.

Luz5年前 (2021-05-10)题库584
To set a red color for the text in the label lbl, use _________. @[D](2)
A. lbl.setFill(Color.red);
B. lbl.setTextFill(Color.red);
C. lbl.setFill(Color.RED);
D. lbl.setTextFill(Color.RED);




A.lbl.setFill(Color.red);
B.lbl.setTextFill(Color.red);
C.lbl.setFill(Color.RED);
D.lbl.setTextFill(Color.RED);


答案:D