I ExploreBy saying “Greatness comes out of the ordinary. Adhering to firm ideals and convictions and working tirelessly to have their jobs done, every ordinary person can have an extraordinary life and every ordinary job can produce extraordinary achievements”, President Xi Jinping encourages us .
A. to be a great hero.
B. to create achievements.
C. to be down-to-earth and produce achievements.
查看答案
以下代码实现了表格的()栏,标题栏分别为()。model.addColumn("ID"); //表格控件增加列字段model.addColumn("传感器名称");model.addColumn("传感器数据");
A. 菜单,ID、传感器名称、传感器数据
B. 工具,ID、传感器名称、传感器数据
C. 标题,ID、传感器名称、传感器数据
D. 标题,传感器名称、传感器数据、ID
以下代码完成了()。ResultSet rs = stmt.executeQuery(sql); while ( rs.next() ) {tempvector = new Vector(1, 1);tempvector.add(rs.getString(1));tempvector.add(rs.getString(2));tempvector.add(rs.getString(3));model.addRow(tempvector); }
A. 向表格添加数据
B. 向数组添加元素
C. 向集合添加元素
D. 向结构添加元素
语句“Vector tempvector = new Vector(1, 1);”定义了数组 。
下面的代码段定义了一个 面板对象jscrollpane1。JTable dbtable = new JTable(model); //表格控件 JScrollPane jscrollpane1 = new JScrollPane(dbtable){public Dimension getPreferredSize() {return new Dimension(600, 600);} };