多选题Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()AprivateBfinalCstaticDintEabstract

多选题
Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()
A

private

B

final

C

static

D

int

E

abstract


参考解析

解析: 暂无解析

相关考题:

Which of the following are valid program types for a lightweight job?() A. PLSQL_BLOCK PLSQLB. EXECUTABLEC. JAVA_STORED_PROCEDURED. STORED_PROCEDUREE. EXTERNAL

class A {  protected int method1(int a, int b) { return 0; }  }  Which two are valid in a class that extends class A?() A、 public int method1(int a, int b) { return 0; }B、 private int method1(int a, int b) { return 0; }C、 private int method1(int a, long b) { return 0; }D、 public short method1(int a, int b) { return 0: }E、 static protected int method1(int a, int b) { return 0; }

Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()  A、privateB、finalC、staticD、intE、abstract

Your web page includes a Java SE v1.5 applet with the following declaration: 11. 13. 14. Which HTTP method is used to retrieve the applet code?()A、GETB、PUTC、POSTD、RETRIEVE

Which lines of code are valid declarations of a native method when occurring within the declaration of the following class?()    public class Qf575 {   // insert declaration of a native method here   }  A、native public void setTemperature(int kelvin);B、private native void setTemperature(int kelvin);C、protected int native getTemperature();D、public abstract native void setTemperature(int kelvin);E、native int setTemperature(int kelvin) {}

Which of the following are valid program types for a lightweight job?()A、 PLSQL_BLOCKB、 EXECUTABLEC、 JAVA_STORED_PROCEDURED、 STORED_PROCEDUREE、 EXTERNAL

Which of the following are valid program types for a lightweight job?()A、PLSQL_BLOCK PLSQLB、EXECUTABLEC、JAVA_STORED_PROCEDURED、STORED_PROCEDUREE、EXTERNAL

Given: 6. 7.%="processing" % 8. and a custom tag handler for foo which extends TagSupport. Which two are true about thetag handler referenced by foo?()A、The doStartTag method is called once.B、The doAfterBody method is NOT called.C、The EVAL_PAGE constant is a valid return value for the doEndTag method.D、The SKIP_PAGE constant is a valid return value for the doStartTag method.E、The EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.

You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()A、In the init method.B、In the jspInit method.C、In the constructor of the JSP’s Java code.D、In a JSP declaration, which includes an initializer block.E、In a JSP declaration, which includes a static initializer block.

Which is the return type of the method main()?    A、 intB、 voidC、 booleanD、 static

Application Control Engine (ACE) can check the health of servers and server farms by configuring health probes (which are sometimes referred to as keepalives). A probe can be one of many types. Which are valid ACE probes? ()A、 HTTPB、 Java scriptingC、 TCL scriptingD、 RADIUSE、 TACACS

Which of the following statements about declaration are true?()         A、 Declaration of primitive types such as boolean, byte and so on does not allocate memory space for the variable.B、 Declaration of primitive types such as boolean, byte and so on allocates memory space for the variable.C、 Declaration of nonprimitive types such as String, Vector and so on does not allocate memory space for the object.D、 Declaration of nonprimitive types such as String, Vector ans so on allocates memory space for the object.

Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()A、It can be invoked only from the doGet or doPost methods.B、It can be used independently of the getRemoteUser method.C、Can return "true" even when its argument is NOT defined as a valid role name in the deployment descriptor.D、Using the isUserInRole method overrides any declarative authentication related to the method in which it is invoked.

You work as an application developer at Certkiller .com. You are required to dynamically load assemblies into an application domain. You are using the Load method of the AppDomain class. What types of files can you this use method for?()A、 Library application files (.dll).B、 All assembly files, no matter what there file extensions are.C、 Application configuration files (.config).D、 Standalone application files (.exe).

多选题Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()AprivateBfinalCstaticDintEabstract

单选题Which is the return type of the method main()?A intB voidC booleanD static

多选题Which lines of code are valid declarations of a native method when occurring within the declaration of the following class?()    public class Qf575 {   // insert declaration of a native method here   }Anative public void setTemperature(int kelvin);Bprivate native void setTemperature(int kelvin);Cprotected int native getTemperature();Dpublic abstract native void setTemperature(int kelvin);Enative int setTemperature(int kelvin) {}

多选题Given the following code, which method declarations, when inserted at the indicated position, will not cause the program to fail compilation?()   public class Qdd1f {   public long sum(long a, long b) {  return a + b;  }   // insert new method declaration here  }Apublic int sum(int a, int b) { return a + b; }Bpublic int sum(long a, long b) { return 0; }Cabstract int sum();Dprivate long sum(long a, long b) { return a + b; }Epublic long sum(long a, int b) { return a + b; }

多选题You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()AIn the init method.BIn the jspInit method.CIn the constructor of the JSP’s Java code.DIn a JSP declaration, which includes an initializer block.EIn a JSP declaration, which includes a static initializer block.

多选题Which are not Java primitive types?()AshortBBooleanCunitDfloat

多选题class A {  protected int method1(int a, int b) { return 0; }  }  Which two are valid in a class that extends class A?()Apublic int method1(int a, int b) { return 0; }Bprivate int method1(int a, int b) { return 0; }Cprivate int method1(int a, long b) { return 0; }Dpublic short method1(int a, int b) { return 0: }Estatic protected int method1(int a, int b) { return 0; }

单选题You work as an application developer at Certkiller .com. You are required to dynamically load assemblies into an application domain. You are using the Load method of the AppDomain class. What types of files can you this use method for?()A Library application files (.dll).B All assembly files, no matter what there file extensions are.C Application configuration files (.config).D Standalone application files (.exe).

多选题Application Control Engine (ACE) can check the health of servers and server farms by configuring health probes (which are sometimes referred to as keepalives). A probe can be one of many types. Which are valid ACE probes? ()AHTTPBJava scriptingCTCL scriptingDRADIUSETACACS

多选题Which four are valid Oracle constraint types? ()ACASCADEBUNIQUECNONUNIQUEDCHECKEPRIMARY KEYFCONSTANTGNOT NULL

多选题Which two are true about the tag handler referneed by my Tag. ()AThe do Start Tag method is called once.BThe do After Body method is NOT called.CThe EVAL_Page constant is a valid return value for the do End Tag Method.Dthe EVAL_BODY_BUFFERED constant is a valid return value for the do Start Tag method.

多选题Given: 6. 7. 8. and a custom tag handler for foo which extends TagSupport. Which two are true about thetag handler referenced by foo?()AThe doStartTag method is called once.BThe doAfterBody method is NOT called.CThe EVAL_PAGE constant is a valid return value for the doEndTag method.DThe SKIP_PAGE constant is a valid return value for the doStartTag method.EThe EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.

多选题Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()AIt can be invoked only from the doGet or doPost methods.BIt can be used independently of the getRemoteUser method.CCan return true even when its argument is NOT defined as a valid role name in the deployment descriptor.DUsing the isUserInRole method overrides any declarative authentication related to the method in which it is invoked.

多选题Given: 6. 7. 8. and a custom tag handler for foo which extends TagSupport. Which two are true about thetag handler referenced by foo?()AThe doStartTag method is called once.BThe doAfterBody method is NOT called.CThe EVAL_PAGE constant is a valid return value for the doEndTag method.DThe SKIP_PAGE constant is a valid return value for the doStartTag method.EThe EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.