网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
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” 相关考题
考题 Given:What is the result when the programmer attempts to compile the code and run it with the command java Converter 12?() A. It is true that j==i.B. It is false that j==i.C. An exception is thrown at runtime.D. Compilation fails because of an error in line 13.

考题 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

考题 As a new diplomat, he often thinks of ______ he can react more appropriately on such occasions.A. what B. which C. that D. how

考题 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 statement is true about assertion in the Java programming language?()  A、 Assertion expressions should not contain side effects.B、 Assertion expression values can be any primitive type.C、 Assertion should be used for enforcing preconditions on public methods.D、 An AssertionError thrown as a result of a failed assertion should always be handled by the enclosing method.

考题 Using Oracle Enterprise Manager to set SGA pool values manually, for which of the following pools does Oracle EM offer advice to set the value appropriately?() A、 DB_CACHE_SIZEB、 SHARED_POOL_SIZEC、 LARGE_POOL_SIZED、 JAVA_POOL_SIZEE、 SGA_MAX_SIZEF、 SORT_AREA_SIZE

考题 Which interface provides the ability to aggregate values across a cluster in parallel using Filters ? ()A、 ConcurrentMapB、 Java.Util.AbstractMapC、 ObservableMapD、 InvocableMap

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

考题 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

考题 public class Team extends java.util.LinkedList {  public void addPlayer(Player p) {  add(p);  }  public void compete(Team opponent) { /* more code here */ }  }  class Player { /* more code here */ }  Which two are true?()A、 This code will compile.B、 This code demonstrates proper design of an is-a relationship.C、 This code demonstrates proper design of a has-a relationship.D、 A Java programmer using the Team class could remove Player objects from a Team object.

考题 Which two interfaces provide the capability to store objects using a key-value pair?()A、 Java.util.Map.B、 Java.util.Set.C、 Java.util.List.D、 Java.util.StoredSet.E、 Java.util.StoredMap.F、 Java.util.Collection.

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

考题 Which can be used to decode charS for output?()  A、 Java.io.InputStream.B、 Java.io.EncodedReader.C、 Java.io.InputStreamReader.D、 Java.io.InputStreamWriter.E、 Java.io.BufferedInputStream.

考题 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.

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

考题 To manually configure the SGA components using Oracle Enterprise Manager Memory Advisor, you can set values for which of the following initialization parameters?()A、 DB_CACHE_SIZEB、 SHARED_POOL_SIZEC、 LARGE_POOL_SIZED、 JAVA_POOL_SIZEE、 SGA_MAX_SIZEF、 SORT_AREA_SIZE

考题 Which two statements are true regarding the USING and ON clauses in table joins?()A、Both USING and ON clauses can be used for equijoins and nonequijoins B、Amaximum of one pair of columns can be joined between two tables using the ON clause C、The ON clause can be used to join tables on columns that have different names but compatible data types D、The WHERE clause can be used to apply additional conditions in SELECT statements containing the ON or the USING clause 

考题 单选题Which can be used to decode charS for output?()A  Java.io.InputStream.B  Java.io.EncodedReader.C  Java.io.InputStreamReader.D  Java.io.InputStreamWriter.E  Java.io.BufferedInputStream.

考题 单选题Which statement is true about assertion in the Java programming language?()A  Assertion expressions should not contain side effects.B  Assertion expression values can be any primitive type.C  Assertion should be used for enforcing preconditions on public methods.D  An AssertionError thrown as a result of a failed assertion should always be handled by the enclosing method.

考题 多选题Which two statements are true regarding the USING and ON clauses in table joins?()ABoth USING and ON clauses can be used for equijoins and nonequijoinsBAmaximum of one pair of columns can be joined between two tables using the ON clauseCThe ON clause can be used to join tables on columns that have different names but compatible data typesDThe WHERE clause can be used to apply additional conditions in SELECT statements containing the ON or the USING clause

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

考题 多选题public class Team extends java.util.LinkedList {  public void addPlayer(Player p) {  add(p);  }  public void compete(Team opponent) { /* more code here */ }  }  class Player { /* more code here */ }  Which two are true?()AThis code will compile.BThis code demonstrates proper design of an is-a relationship.CThis code demonstrates proper design of a has-a relationship.DA Java programmer using the Team class could remove Player objects from a Team object.

考题 多选题Which four actions can you perform using the WebLogic Admin Console?()AStop and start Managed Servers using the Node Manager.BStop and start Coherence Servers using the Node Manager.CCreate a WebLogic Domain Template.DCreate and target JDBC connection pools.ECreate and target WebLogic Diagnostic Framework Diagnostic Modules.FChange Java command-line parameters at run time.

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

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

考题 多选题Which four types of objects can be thrown using the throw statement?()AErrorBEventCObjectDExceptionEThrowableFRuntimeException

考题 多选题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.

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