單項選擇題

下列哪個選項是創(chuàng)建一個標識有"關(guān)閉"按鈕的語句?()

A.JTextField b = new JtextField("關(guān)閉");
B.JTextArea b = new JTextArea("關(guān)閉");
C.JButton b = new Jbutton("關(guān)閉");
D.JCheckbox b = new Jcheckbox("關(guān)閉");

微信掃碼免費搜題