更多"int [] my_Array; &en"的相关试题:
[单项选择] A company just hired a new plant maintenance manager, and they are concerned about the number of corrupt asset records in the present system. In future they want to prevent this from happening. When implementing the new solution, what is recommended?()
A. All maintenance personnel have full access to all records.
B. All maintenance personnel have read-only access to all data.
C. Only a very limited number of personnel have full access to static data records, but all maintenance personnel are able to enter work order data.
D. Maintenance personnel should not be using the system, and should only write entries on printed work orders and hire input clerks to enter these into the system.
[单项选择] Matthew has recently joined NetFx Corporation as a junior-level Database Administrator (DBA). He is asked by his supervisor to verify the database for data block corruptions. He uses the DBVERIFY utility and finds that two data blocks are corrupted in the database. What should Matthew use to identify the corrupted blocks as well as datafiles containing these blocks?()
A. datafile
B. alert log
C. dynamic views
D. control file script
[单项选择] For debugging purposes, you need to record how many times a given JSP is invoked before the user’ssession has been created. The JSP’s destroy method stores this information to a database. Which JSPcode snippet keeps track of this count for the lifetime of the JSP page?()
A. <%! int count = 0; %><% if ( request.getSession(false) == null ) count++; %>
B. <%@ int count = 0; %>. <% if ( request.getSession(false) == null ) count++; %>
C. <% int count = 0;. if ( request.getSession(false) == null ) count++; %>
D. <%@ int count = 0;. if ( request.getSession(false) == null ) count++; %>
E. <%! int count = 0;. if ( request.getSession(false) == null ) count++; %>
[单项选择] In your web application,you need to execute a block of code whenever the session object is first created. Which design will accomplish this goal?()
A. Create an HttpSessionListener class and implement the sessionInitialized method with that block ofcode.
B. Create an HttpSessionActivationListener class and implement the sessionCreated method with thatblock of code.
C. Create a Filter class, call the getSession(false) method, and if the result was null, then execute that block of code.
D. Create an HttpSessionListener class and implement the sessionCreated method with that block of code.
[单项选择] You are implementing an ASP.NET Web site that uses a custom server control named Task. Task is defined as shown in the following list. Class name: Task Namespace: DevControls Assembly: TestServerControl.dll Base class: System.Web.UI.WebControls.WebControl You copy TestServerControl.dll to the Web site‟s Bin folder. You need to allow the Task control to be declaratively used on site pages that do not contain an explicit @ Register directive. Which configuration should you add to the web.config file?()
A.
B.
C.
D.
查看答案
[多项选择]
下列解释正确的是()
A. out_applet.java中一定有一个参数是“display_string”
B.
具有两个属性“name”和“value”
C. value是参数的名称
D. “good morning”通过
标记传递给“Our_Applet.class”
[简答题] 一般程序如下: ORG 2000H ARY DW --4,3,--2,1 CNT DW $--ARY VAR DW ARY,$+4 ┆ MOV AX,ARY MOV BX,OFFSET VAR MOV CX,CNT MOV DX,VAR+2 LEA SI,ARY ┆ 此程序段执行后,寄存器AX,BX,CX,DX与SI中的内容各是多少?
[单项选择] 现有: 1 Interface F{} 2 class A implements F{} 3 class B extends A{} 4 class C extends B{ 5 public static void main(String[] args){ 6 B b=new B(); 7 //inSert C0de here 8 } 9 } 下列哪行代码插入到第7行,将抛出java.lang.ClassCaseException异常()
A. A a=b;
B. F f= (C)b;
C. F f= (A)b;
D. B bb= (B)(A)b;
[单项选择] 现有: class Pencil { public void write (String content){ System.out.println ("Write"+content); } } class RubberPencil extends Pencil{ public void erase (String content){ System.out.println ("Erase"+content); } } 执行下列代码的结果是哪项?() Pencil pen=new RubberPencil(); pen.write ("Hello"); pen.erase ("Hello");
A. Write Hello Erase Hello
B. Erase Hello Write Hello
C. 编译错误
D. 运行时抛出异常
[多项选择] public class Foo { private int val; public foo(int v) (val = v;) } public static void main (String args) { Foo a = new Foo (10); Foo b = new Foo (10); Foo c = a; int d = 10; double e = 10.0; } Which three logical expression evaluate to true? ()
A. (a ==c)
B. (d ==e)
C. (b ==d)
D. (a ==b)
E. (b ==c)
F. (d ==10.0)
[单项选择] public class Pet{ private String name; public Pet(){ System.out.print(1); } public Pet(String name){ System.out.print(2); } } public class Dog extends Pet{ public Dog(String name){ System.out.print(3); } } 执行new Dog(“棕熊”);后程序输出是哪项?()
A. 23
B. 13
C. 123
D. 321
[单项选择] 现有 public class Parentt public void change (int x){) ) public class Child extends Parent{ //覆盖父类change方法 } 下列哪个声明是正确的覆盖了父类的change方法?()
A. protected void change (int x){}
B. public void change(int x, int y){}
C. public void change (int x){}
D. public void change (String s){}
[单项选择] class TestMain { static int x = 2; static { x = 4; } public static void main(String... args) { int y = x + 1; System.out.println(y); } } 和命令行: java TestMain 结果为:()
A. 3
B. 5
C. 编译失败
D. 运行时异常被抛出
[单项选择] A System p customer has installed components from the Linux ToolBox. By default, which of the following directories will contain the open source commands such as gzip, gunzip and zcat()
A. /opt/freeware/bin
B. /usr/bin/freeware
C. /var/freeware/bin
D. /usr/sbin/freeware
[单项选择] You work with a SQL Server 2005 database that provides banking information for customers. You want customers to see banking reports that combine data that is retrieved from the database with real-time investment information that comes from a Web service provided by a third party. The investment information must be current when the reports are executed. You need to create the appropriate objects that support the reports. What should you do?()
A. Publish the data in the database as an XML Web service by using the FOR XML AUTO clause.
B. Create a table to store the banking information for each customer. Create a trigger that fires when data is inserted into the table that joins with the data coming from the Web service.
C. Create a Transact-SQL stored procedure that uses a temporary table to store the banking information for each customer. Update the table with the values from the Web service.
D. Have a developer in your company create an assembly that calls the remote Web service. Create aCLR function by using the assembly. Call the CLR function and combine the results with banking information in the database.
[单项选择] 现有: class Pencil { public void write (String content){ System.out.println ("Write"+content); } } class RubberPencil extends Pencil{ public void write (String content){ System.out.println ("Rubber Write"+content); } public void erase (String content){ System.out.println ("Erase "+content); } } 执行下列代码的结果是哪项?() Pencil pen=new RubberPencil(); pen.write("Hello");
A. Write Hello
B. Rubber Write Hello
C. 编译错误
D. 运行时抛出异常