A.getActionCommand() B.setLabel(string str) C.button() D.getLabel()
A.image是要繪制的圖像 B.x,y是表示圖像的中心的位置 C.width是源圖像的寬度 D.this是容器
A.if ( i > 10 ) throw Exception(“something’s wrong!”); B.if ( i > 10 ) throw Exception e (“something’s wrong!”); C.if ( i > 10 ) throw new Exception(“something’s wrong!”); D.if ( i > 10 ) throw new Exception e ("something’s wrong!");