单选题 Java 题号 #3633552 AWT 中用来表示颜色的类是( )。 A.Font B.Color C.Panel D.Dialog 收起答案及解析 进入在线模考 参考答案 B 答案解析 AWT 中Font 是表示字体的类,Color 是表示颜色的类,Panel 是表示面板的类,Dialog 是表示对话框的类。 你可能感兴趣的试题 1 Applet的默认布局管理器是( )。 A.BorderLayoutB.FlowLayoutC.GridLayoutD.PanelLayout 查看解析 → 2 用于设置组件大小的方法是( )。 A.paint()B.setSize()C.getSize()D.repaint() 查看解析 → 3 单击窗口内的按钮时,产生的事件是( )。 A.MouseEventB.WindowEventC.ActionEventD.KeyEvent 查看解析 →