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

单选题
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


参考解析

解析: 暂无解析

相关考题:

Given:Which exception or error will be thrown when a programmer attempts to run this code?() A.java.lang.StackOverflowErrorB.java.lang.IllegalStateExceptionC.java.lang.ExceptionInInitializerErrorD.java.lang.ArrayIndexOutOfBoundsException

WhichcanappropriatelybethrownbyaprogrammerusingJavaSEtechnologytocreateadesktop application?() A.ClassCastExceptionB.NullPointerExceptionC.NoClassDefFoundErrorD.NumberFormatExceptionE.ArrayIndexOutOfBoundsException

Java编程语言提供几种预定义的异常,下列是除0异常类型关键字的是 ( )A.ArithmeticExceptionB.NullPointerExceptionC.NegativeArraySizeExceptionD.ArrayIndexOutOfBoundsException

When you are designing a Web application, which options define how rich text displays in a browser?()A、"Using HTML"B、"Using Java Applet"C、"Using AJAX Control"D、"Using Best Fit for OS"

Which the two are true regarding a web application class loader?()A、 A web application may override the web container’s implementation classesB、 A web application running in a J2EE product may override classes in the javax.* namespaceC、 A web application class loader may NOT override any classes in the java.* and javax.*  namespaceD、 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 getResourceE、 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

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

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、XCOPYB、ClickOnceC、MicrosoftWindows InstallerD、Remote Desktop connections

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.

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 logsB、Security logsC、Application logsD、Application installation logs

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. StackOverflowErrorB、 java.lang.IllegalStateExceptionC、 java.lang.ExceptionlnlnitializerErrorD、 java.lang.ArraylndexOutOfBoundsException

Which four can be thrown using the throw statement?() A、 ErrorB、 EventC、 ObjectD、 ThrowableE、 ExceptionF、 RuntimeException

Which four types of objects can be thrown using the throw statement?()A、 ErrorB、 EventC、 ObjectD、 ExceptionE、 ThrowableF、 RuntimeException

Which four types of object can be thrown using the throw statement?()A、 ErrorB、 EventC、 ObjectD、 ExceptionE、 ThrowableF、 Runtime Exception

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.

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.

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.

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

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.

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

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

单选题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?()ACreate a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.BCreate a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.CCreate a new certificatetrust list (CTL).Install the CTL on the server that has the ClickOnce application published.DCreate a new certificate trust list (CTL).Request the network administrator to deploy the CTL by using Group Policy.

单选题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?()ADeploy the application to a central network server.Access the application by using the Remote Desktop Connection tool.BDeploy the application by using the ClickOnce technology.Use the Mage exe tool to set the Online Only option in the deployment manifest.CDeploy the application by using the ClickOnce technology.Set the Install attribute of the deployment tag to true in the deployment manifest.DDeploy the application to a CDROM by using the ClickOnce technology.Execute the application from the CDROM

单选题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?()ASystem logsBSecurity logsCApplication logsDApplication installation logs

单选题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?()ADeploy the application to a central network server.- Access the application by using hte Remote Desktop Connection tool.BDeploy the application by using the ClickOnce technology.- Use the Mage.exe tool to set the Online Only option in the deployment manifest.CDeploy the application by using the ClickOnce technologoy.- Set the Install attiribute of the deployment tag to true in the deployment manifest.DDeploy the application to a CD-ROM by using the ClickOnce technology. - Execute the application from the CD-ROM.

单选题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?()AXCOPYBClickOnceCMicrosoftWindows InstallerDRemote Desktop connections

单选题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 LOGGINGB 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.

单选题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. StackOverflowErrorB java.lang.IllegalStateExceptionC java.lang.ExceptionlnlnitializerErrorD java.lang.ArraylndexOutOfBoundsException

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