Which can appropriately be thrown by a programmer using Java SE technology to create a desktop application?()A、ClassCastExceptionB、NullPointerExceptionC、NoClassDefFoundErrorD、NumberFormatExceptionE、ArrayIndexOutOfBoundsException

题目

Which can appropriately be thrown by a programmer using Java SE technology to create a desktop application?()

  • A、ClassCastException
  • B、NullPointerException
  • C、NoClassDefFoundError
  • D、NumberFormatException
  • E、ArrayIndexOutOfBoundsException

相似考题
更多“Which can appropriately be thrown by a programmer using Java SE technology to create a desktop application?()A、ClassCastExceptionB、NullPointerExceptionC、NoClassDefFoundErrorD、NumberFormatExceptionE、ArrayIndexOutOfBoundsException”相关问题
  • 第1题:

    Which the two are true regarding a web application class loader?()

    • A、 A web application may override the web container’s implementation classes
    • B、 A web application running in a J2EE product may override classes in the javax.* namespace
    • C、 A web application class loader may NOT override any classes in the java.* and javax.*  namespace
    • D、 Resources in the WAR class directory or in any of the JAR files within the library directory may  be accessed using the J2SE semantics of getResource
    • E、 Resources in the WAR class directory or in any of the JAR files within the library directory  cannot be accessed using the J2SE semantics of getResource

    正确答案:C,D

  • 第2题:

    Your web application requires the adding and deleting of many session attributes during a complex usecase. A bug report has come in that indicates that an important session attribute is being deleted too soonand a NullPointerException is being thrown several interactions after the fact. You have decided to create asession event listener that will log when attributes are being deleted so you can track down when theattribute is erroneously being deleted. Which listener class will accomplish this debugging goal?()

    • A、Create an HttpSessionAttributeListener class and implement the attributeDeleted method and log the attribute name using the getName method on the event object.
    • B、Create an HttpSessionAttributeListener class and implement the attributeRemoved method and log the attribute name using the getName method on the event object.
    • C、Create an SessionAttributeListener class and implement the attributeRemoved method and log the attribute name using the getAttributeName method on the event object.
    • D、Create an SessionAttributeListener class and implement the attributeDeleted method and log the attribute name using the getAttributeName method on the event object.

    正确答案:B

  • 第3题:

    public class Foo {  static int[] a;  static { a[0]=2; }  public static void main( String[] args) {}  }  Which exception or error will be thrown when a programmer attempts to run this code?() 

    • A、 java.lang. StackOverflowError
    • B、 java.lang.IllegalStateException
    • C、 java.lang.ExceptionlnlnitializerError
    • D、 java.lang.ArraylndexOutOfBoundsException

    正确答案:C

  • 第4题:

    Which four types of objects can be thrown using the throw statement?()

    • A、 Error
    • B、 Event
    • C、 Object
    • D、 Exception
    • E、 Throwable
    • F、 RuntimeException

    正确答案:A,D,E,F

  • 第5题:

    Which four actions can you perform using the WebLogic Admin Console?()

    • A、Stop and start Managed Servers using the Node Manager.
    • B、Stop and start Coherence Servers using the Node Manager.
    • C、Create a WebLogic Domain Template.
    • D、Create and target JDBC connection pools.
    • E、Create and target WebLogic Diagnostic Framework Diagnostic Modules.
    • F、Change Java command-line parameters at run time.

    正确答案:A,B,D,F

  • 第6题:

    Your company runs Remote Desktop Services. You have a Remote Desktop Session Host (RD Session Host) se rver. You enable Microsoft Word as a RemoteApp application on the RD Session Host server. You need to ensure that the RemoteApp application opens when a user double - clicks a Word (.docx) file on a client computer. Which two actions should you perform?()

    • A、Create a Windows Installer (.msi) file.
    • B、Create a Remote Desktop Protocol (.rdp) file.
    • C、In the properties of the RemoteApp application, enable the Allow any command - line arguments setting.
    • D、Enable the Associate client extensions for this program with the RemoteApp program setting for the file.

    正确答案:A,D

  • 第7题:

    You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application.You need to ensure that on deployment, the application meets the following requirements:  (1)It is executed on the client computer   (2)It is removed from the client computer after the application is closed   (3)It is not displayed in theAdd/Remove programs panel on the client computer    What should you do?()

    • A、Deploy the application to a central network server.Access the application by using the Remote Desktop Connection tool.
    • B、Deploy the application by using the ClickOnce technology.Use the Mage exe tool to set the Online Only option in the deployment manifest.
    • C、Deploy the application by using the ClickOnce technology.Set the Install attribute of the deployment tag to true in the deployment manifest.
    • D、Deploy the application to a CDROM by using the ClickOnce technology.Execute the application from the CDROM

    正确答案:B

  • 第8题:

    You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to deploy a new Applciation.You need to ensure that on deployment, the application meets the following requirements;    (1)It is executed on the client computer.   (2)It is removed from the client computer after the application closed.   (3)It is not displayed in the Add/Remove programs panel on the client computer.     What sould you do?()

    • A、Deploy the application to a central network server.- Access the application by using hte Remote Desktop Connection tool.
    • B、Deploy the application by using the ClickOnce technology.- Use the Mage.exe tool to set the Online Only option in the deployment manifest.
    • C、Deploy the application by using the ClickOnce technologoy.- Set the Install attiribute of the deployment tag to true in the deployment manifest.
    • D、Deploy the application to a CD-ROM by using the ClickOnce technology. - Execute the application from the CD-ROM.

    正确答案:B

  • 第9题:

    单选题
    Which can appropriately be thrown by a programmer using Java SE technology to create a desktop application?()
    A

    ClassCastException

    B

    NullPointerException

    C

    NoClassDefFoundError

    D

    NumberFormatException

    E

    ArrayIndexOutOfBoundsException


    正确答案: A
    解析: 暂无解析

  • 第10题:

    单选题
    You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application by using the ClickOnce deployment technology.  The application is signed by using a certificate obtained from a trustworthy authority. You need to ensure that the application can be deployed as a trusted application to Windows Vista client computers on a corporate network.What should you do?()
    A

    Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.

    B

    Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.

    C

    Create a new certificatetrust list (CTL).Install the CTL on the server that has the ClickOnce application published.

    D

    Create a new certificate trust list (CTL).Request the network administrator to deploy the CTL by using Group Policy.


    正确答案: C
    解析: 暂无解析

  • 第11题:

    多选题
    Which the two are true regarding a web application class loader?()
    A

    A web application may override the web container’s implementation classes

    B

    A web application running in a J2EE product may override classes in the javax.* namespace

    C

    A web application class loader may NOT override any classes in the java.* and javax.*  namespace

    D

    Resources in the WAR class directory or in any of the JAR files within the library directory may  be accessed using the J2SE semantics of getResource

    E

    Resources in the WAR class directory or in any of the JAR files within the library directory  cannot be accessed using the J2SE semantics of getResource


    正确答案: E,B
    解析: 暂无解析

  • 第12题:

    多选题
    Which four types of object can be thrown using the throw statement?()
    A

    Error

    B

    Event

    C

    Object

    D

    Exception

    E

    Throwable

    F

    Runtime Exception


    正确答案: A,D,E,F
    解析: 暂无解析

  • 第13题:

    You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new Windows Presentation Foundation (WPF) XAML browser application (XBAP).The deployment must meet the following requirements:  (1)shortcut is added to the Start menu   (2)The most recent version of the application is installed and executed on client computers   (3)Users can uninstall the application from the control panel    You need to identify a deployment technology that meets the specified requirements.You want to achieve this goal by using the minimum amount of development effort. Which deployment technology should you use?()

    • A、XCOPY
    • B、ClickOnce
    • C、MicrosoftWindows Installer
    • D、Remote Desktop connections

    正确答案:B

  • 第14题:

    A technician installed a new application on a Windows XP desktop. When the technician tries to launch the application it crashes. Which of the following can the technician use to troubleshoot the application?()

    • A、System logs
    • B、Security logs
    • C、Application logs
    • D、Application installation logs

    正确答案:C

  • 第15题:

    Which four can be thrown using the throw statement?() 

    • A、 Error
    • B、 Event
    • C、 Object
    • D、 Throwable
    • E、 Exception
    • F、 RuntimeException

    正确答案:A,D,E,F

  • 第16题:

    Which four types of object can be thrown using the throw statement?()

    • A、 Error
    • B、 Event
    • C、 Object
    • D、 Exception
    • E、 Throwable
    • F、 Runtime Exception

    正确答案:A,D,E,F

  • 第17题:

    You have created an Oracle 10g database named SALES, which will be used by an application named SalesOrders. Users of the SalesOrders application complain that application response time is slow when they generate reports. The SalesOrders application accesses a table that contains 10 million rows. You decide to create an index on this table using the NOLOGGING option so that the index creation process is completed in the least amount of time. Which of the following is NOT true about an index created with the NOLOGGING option?()

    • A、 The index can be changed from NOLOGGING to LOGGING
    • B、 The index cannot be recovered even in the ARCHIVELOG mode.
    • C、 The index can only be created if the base table is created with the NOLOGGING option.
    • D、 The index can be recovered if you perform a backup after the CREATE INDEX statement.

    正确答案:C

  • 第18题:

    You create Windows Forms applications by using the .NET Framework 3.5. You plan to deploy a new application by using the ClickOnce technology.During deployment, the application performs the following tasks: (1)Modifies registry keys   (2)Modifies the files located in the %PROGRAM FILES% folder  (3)Administrative permissions are not granted to users who install the application    You need to ensure that the following requirements are met:  (1)The application can be deployed to Windows Vista client computers that are not part of an Active Directory domain  (2)When the application is deployed, users are not prompted to elevate their permissions    What should you do?()

    • A、Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.
    • B、Create a manifest and set the RequestedExecutionLevel level attribute to As Administrator.
    • C、Create a new certificate trust list (CTL).Use the CertMgr.exe tool to install the CTL on the local computer.
    • D、Create a new certificate trust list (CTL).Install the CTL on the server that has theClickOnce application published.

    正确答案:D

  • 第19题:

    You create Windows Forms applications by using the .NET Framework 3.5.You plan to deploy a new application by using the ClickOnce deployment technology.  The application is signed by using a certificate obtained from a trustworthy authority. You need to ensure that the application can be deployed as a trusted application to Windows Vista client computers on a corporate network.What should you do?()

    • A、Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.
    • B、Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.
    • C、Create a new certificatetrust list (CTL).Install the CTL on the server that has the ClickOnce application published.
    • D、Create a new certificate trust list (CTL).Request the network administrator to deploy the CTL by using Group Policy.

    正确答案:D

  • 第20题:

    Your company plans to upgrade all client computers to Windows 7.   The company uses a custom line-of-business application. The application contains sensitive data.  The application will not run on Windows 7  You establish that Microsoft Enterprise Desktop Virtualization (MED-V) v2 is the appropriate technology to allow your organization to continue to use the application.    You need to ensure that the virtual machine (VM) images that contain sensitive data can be used only when the user is connected to the MED-V server.  What should you do?()

    • A、Use BitLocker Drive Encryption to encrypt the drive on which the VM image is stored.
    • B、In the MED-V console, configure the MED-V workspace to prevent offline operation.
    • C、Using MED-V TrimTransfer technology, deploy the VM image over the network.
    • D、Using Microsoft System Center Configuration Manager, deploy the VM image to an image store directory.

    正确答案:B

  • 第21题:

    多选题
    Which four can be thrown using the throw statement?()
    A

    Error

    B

    Event

    C

    Object

    D

    Throwable

    E

    Exception

    F

    RuntimeException


    正确答案: E,B
    解析: 暂无解析

  • 第22题:

    单选题
    A technician installed a new application on a Windows XP desktop. When the technician tries to launch the application it crashes. Which of the following can the technician use to troubleshoot the application?()
    A

    System logs

    B

    Security logs

    C

    Application logs

    D

    Application installation logs


    正确答案: C
    解析: 暂无解析

  • 第23题:

    单选题
    public class Foo {  static int[] a;  static { a[0]=2; }  public static void main( String[] args) {}  }  Which exception or error will be thrown when a programmer attempts to run this code?()
    A

     java.lang. StackOverflowError

    B

     java.lang.IllegalStateException

    C

     java.lang.ExceptionlnlnitializerError

    D

     java.lang.ArraylndexOutOfBoundsException


    正确答案: A
    解析: 暂无解析