网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
myTable=New System.Data.DataTable(),myTable的名称是Table1。
参考答案
更多 “myTable=New System.Data.DataTable(),myTable的名称是Table1。” 相关考题
考题
下列哪些代码段是正确的?()
A.X x=new X();Y y=new Y();Z z=new Z();y=(Y)x;B.X x=new X();Y y=new Y();Z z=new Z();x=(X)y;C.X x=new X();Y y=new Y();Z z=new Z();Z=(Z)x;D.X x=new X();Y y=new Y();Z z=new Z();W w=(W)x;
考题
以下语句获取表中第1行第1列(FirstName列)的数据,其中正确的语句是()。
A.myTable.Rows(0).Item("FirstName")B.myTable.Rows(1)("FirstName")C.myTable.Rows(0)(1)D.myTable.Rows(0).Item(0)E.myTable.Rows(0).Item(1)
考题
本题中,用表格表现某个月的月历,其中标题是从Sunday到Saturday,表格中的各项是可以修改的。 import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.table.*; public class java2 ( public static void main(String[]args) { try{ UIManager.setLookAndFeel(UIManager.getSys- temLookAndFeelClassName): } catch(Exception e) JFrame. frame=new CalendarTableFrame; frame.setDefaultCloseOperation(JFrame.EXIT_ oN CLOSE); frame.show; } } clasgCalendarTableFrame. extends JFrame { private static final int WIDTH=500; private static final int HEIGHT=150: private cells= { {null,null,null,new Integer(1),new Integer (2),new Integer(3),new Integer(4)), {new Integer(5),new Integer(6),new Integer (7).new Integer(8),new Integer(9),new Integer (10),new Integer(11)), {new Integer(12),new Integer(13),new Integer (14),new Integer(15),new Integer(16),new Integer (17),new Integer(18)), {new Integer(19),new Integer(20),new Integer (21),new Integer(22),new Integer(23),new Integer (24),new Integer(25)), {new Integer(26),new Integer(27),new Integer (28),new Integer(29),new Integer(30),new Integer (31),null} }; private String[]columnNames={ "Sunday","Monday","Tuesday","Wednesday", "Thursday","Friday","Saturday" }; public CalendarTableFrame{ setTitle("java2"); setSize(WIDTH,HEIGHT); JTable table=new ; getContentPane.add(new JScrollPane(table), BorderLayout.CENTER); } }
考题
下面______语句能够正确地创建一个hputStreamReader的实例。A.new lnputStreamReader(new FileReader("data"));B.new lnputStreamReader("data");C.new lnputStreamReader(new FilelnputStream("data"));D.new lnputStreamReader(new BufferedReader("dam"));
考题
将查询学生的结果放在数组MyArray中的SQL语句是: SELECT*FROM学生表WHERE籍贯=’北京’_________ 上面空缺的短语是( )。A. INTO CURSOR MyCumorB. TO ARRAY MyArrayC. INTO ARRAY MyArrayD. INTO TABLE MyTable
考题
37. She wants to buy________- for her.A. a new hatB. a new jeansC. a new sweaterD. new shoes
考题
Washington Irving fills the stories with the"local color"of()A、New York CityB、Hudson River valley near New YorkC、New York stateD、New England
考题
在J2ee中,以下各项中,()正确阐述了创建InputStreamReader的方式。 A、new InputStreamReader(new FileInputStream("data"));B、new InputStreamReader(new FileReader"data"));C、new InputStreamReader(new BufferedReader("data"));D、new FileInputStream("data")
考题
J2EE中,以下各项中,()正确阐述了创建InputStreamReader的方式。A、new InputStreamReader(new FileInputSteream(“data”));B、new InputStreamReader(new FileFileReader (“data”));C、new InputStreamReader(new BufferedReader(“data”));D、new InputStreamReader(“data”);
考题
Which constructs a DataOutputStream?() A、 New dataInputStream(“in.txt”);B、 New dataInputStream(new file(“in.txt”));C、 New dataInputStream(new writer(“in.txt”));D、 New dataInputStream(new FileWriter(“in.txt”));E、 New dataInputStream(new InputStream(“in.txt”));F、 New dataInputStream(new FileInputStream(“in.txt”));
考题
Which constructs a BufferedIputStream?()A、 New BufferedInputStream(“in.txt”);B、 New BufferedInputStream(new File(“in.txt”));C、 New BufferedInputStream(Writer(“in.txt”));D、 New BufferedInputStream(new Writer(“in.txt”));E、 New BufferedInputStream(new InputStream(“in.txt”));F、 New BufferedInputStream(new FileInputStream(“in.txt”));
考题
要删除mytable表中的myindex索引,可以使用()语句。A、DROP myindexB、DROP mytable.myindexC、DROP INDEX myindexD、DROP INDEX mytable.myindex
考题
以下语句执行后myTable的名称是()。 Dim myTable as DataTable myTable=New System.Data.DataTable()A、Table1B、Table2C、TableND、Nothing
考题
以下语句获取表中第1行第1列(FirstName列)的数据,其中错误的语句是()。A、myTable.Rows(0).Item("FirstName")B、myTable.Rows(0)("FirstName")C、myTable.Rows(0)(1)D、myTable.Rows(0)(0)E、myTable.Rows(0).Item(0)
考题
下列命令不能执行的是()。A、SELECT * FROM [select]B、SELECT * FROM @MyTableC、SELECT * FROM [MyTable]D、SELECT * FROM MyTable
考题
Which two code fragments will execute the method doStuff() in a separate thread?()A、 new Thread() { public void run() { doStuff(); } }B、 new Thread() { public void start() { doStuff(); } }C、 new Thread() { public void start() { doStuff(); } } .run();D、 new Thread() { public void run() { doStuff(); } } .start();E、 new Thread(new Runnable() { public void run() { doStuff(); } } ).run();F、 new Thread(new Runnable() { public void run() { doStuff(); } }).start();
考题
Which constructs a DataOutputStream?()A、 New dataOutputStream(“out.txt”);B、 New dataOutputStream(new file(“out.txt”));C、 New dataOutputStream(new writer(“out.txt”));D、 New dataOutputStream(new FileWriter(“out.txt”));E、 New dataOutputStream(new OutputStream(“out.txt”));F、 New dataOutputStream(new FileOutputStream(“out.txt”));
考题
You need to design an audit strategy for Southbridge Video. Your solution must meet business requirements.What should you do?()A、Create a new security template that enables the Audit account logon events policy for successful and failed attempts. Create a new GPO, and link it to the domain. Import the new security template into the new GPOB、Create a new security template that enables the Audit account logon events policy for successful and failed attempts. Create a new GPO, and link it to the Domain Controllers OU. Import the new security template into the new GPOC、Create a new security template that enables the Audit logon events policy for successful and failed attempts. Create a new GPO, and link it to the Domain Controllers OU. Import the new security template into the new GPOD、Create a new security template that enables the Audit logon events policy for successful and failed attempts. Create a new GPO, and link it to the domain. Import the new security template into the new GPO
考题
单选题Which constructs a DataOutputStream?()A
New dataOutputStream(“out.txt”);B
New dataOutputStream(new file(“out.txt”));C
New dataOutputStream(new writer(“out.txt”));D
New dataOutputStream(new FileWriter(“out.txt”));E
New dataOutputStream(new OutputStream(“out.txt”));F
New dataOutputStream(new FileOutputStream(“out.txt”));
考题
单选题Which constructs a BufferedIputStream?()A
New BufferedInputStream(“in.txt”);B
New BufferedInputStream(new File(“in.txt”));C
New BufferedInputStream(Writer(“in.txt”));D
New BufferedInputStream(new Writer(“in.txt”));E
New BufferedInputStream(new InputStream(“in.txt”));F
New BufferedInputStream(new FileInputStream(“in.txt”));
考题
多选题You issued the following command: SQL DROP TABLE MYTABLE; SQL SHOW RECYCLEBIN The following output is returned: ORIGINAL NAME RECYCLEBIN NAME OBJECT TYPE DROP TIME ------------- ------------------------------ --------------- -------------------- MYTABLE BIN$04LhcpndanfgMAAAAAANPw==$0 TABLE 2005-01-13:20:11:31 You want to drop the table, MYTABLE, from the Recycle Bin. Which two commands can you issue to accomplish the desired task?()ADROP TABLE MYTABLE PURGE;BPURGE RECYCLEBIN;CPURGE TABLE MYTABLE;DPURGE TABLE BIN$04LhcpndanfgMAAAAAANPw==$0;
考题
单选题Which constructs a DataOutputStream?()A
New dataInputStream(“in.txt”);B
New dataInputStream(new file(“in.txt”));C
New dataInputStream(new writer(“in.txt”));D
New dataInputStream(new FileWriter(“in.txt”));E
New dataInputStream(new InputStream(“in.txt”));F
New dataInputStream(new FileInputStream(“in.txt”));
考题
单选题下列命令不能执行的是()。A
SELECT * FROM [select]B
SELECT * FROM @MyTableC
SELECT * FROM [MyTable]D
SELECT * FROM MyTable
考题
单选题以下语句执行后myTable的名称是()。 Dim myTable as DataTable myTable=New System.Data.DataTable()A
Table1B
Table2C
TableND
Nothing
考题
单选题在SQL Server中,下列标识符可以作为本地临时表名的是()。A
##MyTableB
@@MyTableC
@MyTableD
#MyTable
热门标签
最新试卷