网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
Which statement is true if the doStartTag method returns EVAL_BODY_BUFFERED?()
A
The tag handler must implement BodyTag.
B
The doAfterBody method is NOT called.
C
The setBodyContent method is called once.
D
It is never legal to return EVAL_BODY_BUFFERED from doStartTag.
参考答案
参考解析
解析:
暂无解析
更多 “单选题Which statement is true if the doStartTag method returns EVAL_BODY_BUFFERED?()A The tag handler must implement BodyTag.B The doAfterBody method is NOT called.C The setBodyContent method is called once.D It is never legal to return EVAL_BODY_BUFFERED from doStartTag.” 相关考题
考题
Click the Exhibit button. Given:Which statement is true if a TestException is thrown on line 3 of class B? ()
A.Line 33 must be called within a try block.B.The exception thrown by method1 in class A is not required to be caught.C.The method declared on line 31 must be declared to throw a RuntimeException.D.On line 5 of class A, the call to method2 of class B does not need to be placed in a try/catch block.
考题
Evaluate the set of SQL statements:What is true about the set?()
A. The DESCRIBE DEPT statement displays the structure of the DEPT table.B. The ROLLBACK statement frees the storage space occupies by the DEPT table.C. The DESCRIBE DEPT statement returns an error ORA-04043: object DEPT does not exist.D. The DESCRIBE DEPT statement displays the structure of the DEPT table only if there is a COMMIT statement introduced before the ROLLBACK statement.
考题
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.
考题
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.
考题
Which statement is true if the do Start Tag method returns EVAL_BODY_BUFFERED?()A、 The tag handler must extend body Tag.B、 The do After Body method is NOT called.C、 The set Body Content method is called.D、 It is never legal to return EVAL_BODY_BUFFERED from do Start Tag.
考题
Under which circumstances will a thread stop?() A、The method waitforId() in class MediaTracker is called.B、The run() method that the thread is executing ends.C、The call to the start() method of the Thread object returns.D、The suspend() method is called on the Thread object.E、The wait() method is called on the Thread object.
考题
Which statement is true if the doStartTag method returns EVAL_BODY_BUFFERED?()A、The tag handler must implement BodyTag.B、The doAfterBody method is NOT called.C、The setBodyContent method is called once.D、It is never legal to return EVAL_BODY_BUFFERED from doStartTag.
考题
Given that b and c refer to instances of wrapper classes, which two statements are true?()A、 b.equals(b) returns true.B、 b.equals(c) returns the same result as b == c.C、 b.eqials(c) can return false even if c.equals(b) returns true.D、 b.equals(c) throws an exception if b and c are different wrapper types.E、 b.equals(c) returns false if the type of wrapper objects being compared are different.
考题
Which of the following statements are true?() A、 The equals() method determines if reference values refer to the same object.B、 The == operator determines if the contents and type of two separate objects match.C、 The equals() method returns true only when the contents of two objects match.D、 The class File overrides equals() to return true if the contents and type of two separate objects match.
考题
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 statement is true?()A、A class’s finalize() method CANNOT be invoked explicitly.B、super.finalize() is called implicitly by any overriding finalize() method.C、The finalize() method for a given object is called no more than once by the garbage collector.D、The order in which finalize() is called on two objects is based on the order in which the two objects became finalizable.
考题
Which statement is true regarding the COALESCE function?()A、It can have a maximum of five expressions in a list B、It returns the highest NOT NULL value in the list for all rows C、It requires that all expressions in the list must be of the same data type D、It requires that at least one of the expressions in the list must have a NOT NULL value
考题
Which statement is true regarding Flashback Version Query? ()A、 It returns versions of rows only within a transaction.B、 It can be used in subqueries contained only in a SELECT statement.C、 It will return an error if the undo retention time is less than the lower bound time or SCN specified.D、 It retrieves all versions including the deleted as well as subsequently reinserted versions of the rows.
考题
You are developing a custom-collection class.You need to create a method in your class. You need to ensure that the method you create in your class returns a type that is compatible with the Foreach statement. Which criterion should the method meet?()A、The method must return a type of either IEnumerator or IEnumerable.B、The method must return a type of IComparable.C、The method must explicitly contain a collection.D、The method must be the only iterator in the class.
考题
单选题Under which circumstances will a thread stop?()A
The method waitforId() in class MediaTracker is called.B
The run() method that the thread is executing ends.C
The call to the start() method of the Thread object returns.D
The suspend() method is called on the Thread object.E
The wait() method is called on the Thread object.
考题
单选题Given: Which statement is true?()A
The cardID and limit variables break polymorphism.B
The code demonstrates polymorphism.C
The ownerName variable breaks encapsulation.D
The setCardInformation method breaks encapsulation.E
The class is fully encapsulated.
考题
单选题Which statement is true?()A
A class’s finalize() method CANNOT be invoked explicitly.B
super.finalize() is called implicitly by any overriding finalize() method.C
The finalize() method for a given object is called no more than once by the garbage collector.D
The order in which finalize() is called on two objects is based on the order in which the two objects became finalizable.
考题
单选题Which statement is true?()A
Compilation fails because the hashCode method is not overridden.B
A HashSet could contain multiple Person objects with the same name.C
All Person objects will have the same hash code because the hashCode method is not overridden.D
If a HashSet contains more than one Person object with name="Fred", then removing another Person, also with name="Fred", will remove them all.
考题
多选题Given that b and c refer to instances of wrapper classes, which two statements are true?()Ab.equals(b) returns true.Bb.equals(c) returns the same result as b == c.Cb.eqials(c) can return false even if c.equals(b) returns true.Db.equals(c) throws an exception if b and c are different wrapper types.Eb.equals(c) returns false if the type of wrapper objects being compared are different.
考题
多选题Which of the following statements are true?()AThe equals() method determines if reference values refer to the same object.BThe == operator determines if the contents and type of two separate objects match.CThe equals() method returns true only when the contents of two objects match.DThe class File overrides equals() to return true if the contents and type of two separate objects match.
考题
单选题Which statement is true regarding Flashback Version Query?()A
It returns versions of rows only within a transaction.B
It can be used in subqueries contained only in a SELECT statement.C
It will return an error if the undo retention time is less than the lower bound time or SCN specified.D
It retrieves all versions including the deleted as well as subsequently reinserted versions of the rows.
考题
单选题Which statement is true if the do Start Tag method returns EVAL_BODY_BUFFERED?()A
The tag handler must extend body Tag.B
The do After Body method is NOT called.C
The set Body Content method is called.D
It is never legal to return EVAL_BODY_BUFFERED from do Start Tag.
考题
单选题You are developing a custom-collection class.You need to create a method in your class. You need to ensure that the method you create in your class returns a type that is compatible with the Foreach statement. Which criterion should the method meet?()A
The method must return a type of either IEnumerator or IEnumerable.B
The method must return a type of IComparable.C
The method must explicitly contain a collection.D
The method must be the only iterator in the class.
考题
单选题Which statement is true regarding the COALESCE function?()A
It can have a maximum of five expressions in a list B
It returns the highest NOT NULL value in the list for all rows C
It requires that all expressions in the list must be of the same data type D
It requires that at least one of the expressions in the list must have a NOT NULL value
考题
多选题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.
考题
单选题Given: Which statement is true?()A
Compilation succeeds.B
Class A does not compile.C
The method declared on line 9 cannot be modified to throw TestException.D
TestA compiles if line 10 is enclosed in a try/catch block that catches TestException.
热门标签
最新试卷