问题 单项选择题

JAVA中,欲返回按钮的标签,其方法是()。

A.getActionCommand()

B.setLabel(stringstr)

C.button()

D.getLabel()

答案

参考答案:A

翻译题
单项选择题