單項(xiàng)選擇題

下列哪個(gè)選項(xiàng)是創(chuàng)建一個(gè)標(biāo)識(shí)有"打開"按鈕的語句()。

A、TextField b=new TextField("打開");
B、TextArea b=new TextArea("打開");
C、Checkbox b=new Checkbox("打開");
D、Button b=new Button("打開");

微信掃碼免費(fèi)搜題