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

题目内容 (请给出正确答案)
多选题
Which two CANNOT directly cause a thread to stop executing? ()
A

Calling the yield method.

B

Calling the wait method on an object.

C

Calling the notify method on an object.

D

Calling the notifyAll method on an object.

E

Calling the start method on another Thread object.


参考答案

参考解析
解析: 暂无解析
更多 “多选题Which two CANNOT directly cause a thread to stop executing? ()ACalling the yield method.BCalling the wait method on an object.CCalling the notify method on an object.DCalling the notifyAll method on an object.ECalling the start method on another Thread object.” 相关考题
考题 Which two are attributes of /SQL*Plus? () A. /SQL*Plus commands cannot be abbreviated.B. /SQL*Plus commands are accesses from a browser.C. /SQL*Plus commands are used to manipulate data in tables.D. /SQL*Plus commands manipulate table definitions in the database.E. /SQL*Plus is the Oracle proprietary interface for executing SQL statements.

考题 Which two events will cause a slave server to create a new relay log file?() A.Execution of the FLUSH LOGS statementB.Starting of the SQL threadC.Reaching the slave_pendign _jobs_size_max limitD.Execution of FULSH TABLES WITH READ LOCKE.Starting of the I/O thread

考题 Failure of which of the following parts could cause the laptop display to stop functioning?() (Select TWO).A、Power inverterB、AC adapterC、Multicard readerD、BacklightE、Keyboard

考题 An Administrator notices a decrease in the performance of his site.  This is directly related to an increase in usage.  After further investigation he notices that users appear to be pooling up in the web server.  Which of the following would cause this to occur?()A、The web Server ThreadsPerChild directive could be set too low.B、The Web Container Thread Pool Minimum Size could be set too high.C、The Web Container Thread Pool Maximum Size could be set too high.D、The growable thread pool setting could be disabled for the Web Container.

考题 Which of the following best describes Simultaneous Multi-threading (SMT)?()A、A POWER5 microprocessor feature that allocates two processors to each applicationB、A Workload Manager feature that allows two processing threads to be executing on a single processorC、An AIX v5.2 feature that allows two processing threads to be executing on a single processor concurrentlyD、A POWER5 microprocessor feature that allows two processing threads to be executing on a single processor concurrently

考题 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:  foo and bar are public references available to many other threads, foo refers to a Thread and bar is an Object. The thread foo is currently executing bar.wait().  From another thread, what provides the most reliable way to ensure that foo will stop executing wait()?()A、foo.notify();B、bar.notify();C、foo.notifyAll();D、Thread.notify();E、bar.notifyAll();F、Object.notify();

考题 Which two can directly cause a thread to stop executing?() A、 Exiting from a synchronized block.B、 Calling the wait method on an object.C、 Calling the notify method on an object.D、 Calling the notifyAll method on an object.E、 Calling the setPriority method on a thread object.

考题 foo and bar are public references available to many other threads. foo refers to a Thread and bar is an Object. The thread foo is currently executing bar.wait(). From another thread, which statement is the most reliable way to ensue that foo will stop executing wait()? A、 foo.notify();B、 bar.notify();C、 foo.notifyAll();D、 Thread.notify();E、 bar.notiFYAll();F、 Object.notify();

考题 Which two CANNOT directly cause a thread to stop executing? ()  A、 Existing from a synchronized block.B、 Calling the wait method on an object.C、 Calling notify method on an object.D、 Calling read method on an InputStream object.E、 Calling the SetPriority method on a Thread object.

考题 Given: foo and bar are public references available to many other threads. foo refers to a Thread and bar is anObject.  The thread foo is currently executing bar.wait().  From another thread,what provides the most reliable wayto ensure that foo will stop executing wait()?A、foo.notify();B、bar.notify();C、foo.notifyAll();D、Thread.notify();E、bar.notifyAll();

考题 Which two statements are true?()A、It is possible for more than two threads to deadlock at once.B、The JVM implementation guarantees that multiple threads cannot enter into a deadlocked state.C、Deadlocked threads release once their sleep() method’s sleep duration has expired.D、Deadlocking can occur only when the wait(), notify(), and notifyAll() methods are used incorrectly.E、It is possible for a single-threaded application to deadlock if synchronized blocks are used incorrectly.F、If a piece of code is capable of deadlocking, you cannot eliminate the possibility ofdeadlocking by insertinginvocations of Thread.yield().

考题 Which two code fragments will execute the method doStuff() in a separate thread?()A、new Thread() {public void run() { doStuff(); }};B、new Thread() {public void start() { doStuff(); }};C、new Thread() {public void start() { doStuff(); }}.run();D、new Thread() {public void run() { doStuff(); }}.start();E、new Thread(new Runnable() {public void run() { doStuff(); }}).start();

考题 Which two events will cause a slave server to create a new relay log file?()A、Execution of the FLUSH LOGS statementB、Starting of the SQL threadC、Reaching the slave_pendign _jobs_size_max limitD、Execution of FULSH TABLES WITH READ LOCKE、Starting of the I/O thread

考题 单选题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 two events will cause a slave server to create a new relay log file?()AExecution of the FLUSH LOGS statementBStarting of the SQL threadCReaching the slave_pendign _jobs_size_max limitDExecution of FULSH TABLES WITH READ LOCKEStarting of the I/O thread

考题 多选题Which two can directly cause a thread to stop executing?()AExiting from a synchronized block.BCalling the wait method on an object.CCalling the notify method on an object.DCalling the notifyAll method on an object.ECalling the setPriority method on a thread object.

考题 多选题Failure of which of the following parts could cause the laptop display to stop functioning?() (Select TWO).APower inverterBAC adapterCMulticard readerDBacklightEKeyboard

考题 多选题An Administrator notices a decrease in the performance of his site.  This is directly related to an increase in usage.  After further investigation he notices that users appear to be pooling up in the web server.  Which of the following would cause this to occur?()AThe web Server ThreadsPerChild directive could be set too low.BThe Web Container Thread Pool Minimum Size could be set too high.CThe Web Container Thread Pool Maximum Size could be set too high.DThe growable thread pool setting could be disabled for the Web Container.

考题 多选题Which two CANNOT directly cause a thread to stop executing? ()AExisting from a synchronized block.BCalling the wait method on an object.CCalling notify method on an object.DCalling read method on an InputStream object.ECalling the SetPriority method on a Thread object.

考题 多选题Which two code fragments will execute the method doStuff() in a separate thread?()Anew Thread() {public void run() { doStuff(); }};Bnew Thread() {public void start() { doStuff(); }};Cnew Thread() {public void start() { doStuff(); }}.run();Dnew Thread() {public void run() { doStuff(); }}.start();Enew Thread(new Runnable() {public void run() { doStuff(); }}).start();

考题 单选题Which of the following best describes Simultaneous Multi-threading (SMT)?()A A POWER5 microprocessor feature that allocates two processors to each applicationB A Workload Manager feature that allows two processing threads to be executing on a single processorC An AIX v5.2 feature that allows two processing threads to be executing on a single processor concurrentlyD A POWER5 microprocessor feature that allows two processing threads to be executing on a single processor concurrently

考题 多选题Which two are attributes of iSQL*Plus? ()AiSQL*Plus commands cannot be abbreviated.BiSQL*Plus commands are accessed from a browser.CiSQL*Plus commands are used to manipulate data in tables.DiSQL*Plus commands manipulate table definitions in the database.EiSQL*Plus is the Oracle proprietary interface for executing SQL statements.

考题 单选题Given:  foo and bar are public references available to many other threads, foo refers to a Thread and bar is an Object. The thread foo is currently executing bar.wait().  From another thread, what provides the most reliable way to ensure that foo will stop executing wait()?()A foo.notify();B bar.notify();C foo.notifyAll();D Thread.notify();E bar.notifyAll();F Object.notify();

考题 单选题You want to create a temporary table while executing a procedure in a form. Which statement is true?()A You cannot create a table form within Forms. B You must use the FORMS_DDL built-in to create the table. C You must use the DBMS_DYNAMIC_DDL package to create the table. D You can write the CREATE TABLE statement directly into the trigger.

考题 单选题Given: foo and bar are public references available to many other threads. foo refers to a Thread and bar is anObject.  The thread foo is currently executing bar.wait().  From another thread,what provides the most reliable wayto ensure that foo will stop executing wait()?A foo.notify();B bar.notify();C foo.notifyAll();D Thread.notify();E bar.notifyAll();

考题 单选题foo and bar are public references available to many other threads. foo refers to a Thread and bar is an Object. The thread foo is currently executing bar.wait(). From another thread, which statement is the most reliable way to ensue that foo will stop executing wait()?A  foo.notify();B  bar.notify();C  foo.notifyAll();D  Thread.notify();E  bar.notiFYAll();F  Object.notify();