多选题Which two can be used to create a new Thread? ()AExtend java.lang.Thread and override the run method.BExtend java.lang.Runnable and override the start method.CImplement java.lang.thread and implement the run method.DImplement java.lang.Runnable and imp

题目
多选题
Which two can be used to create a new Thread? ()
A

Extend java.lang.Thread and override the run method.

B

Extend java.lang.Runnable and override the start method.

C

Implement java.lang.thread and implement the run method.

D

Implement java.lang.Runnable and implement the run method.

E

Implement java.lang.Thread and implement the start method.


相似考题
更多“Which two can be used to create a new Thread? ()”相关问题
  • 第1题:

    Which two statements regarding symmetric key encryption are true?() (Choose two.)

    A. The same key is used for encryption and decryption.

    B. It is commonly used to create digital certificate signatures.

    C. It uses two keys: one for encryption and a different key for decryption.

    D. An attacker can decrypt data if the attacker captures the key used for encryption.


    参考答案:A, D

  • 第2题:

    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(); } } ).run();
    • F、 new Thread(new Runnable() { public void run() { doStuff(); } }).start();

    正确答案:D,F

  • 第3题:

    Which statements about the garbage collection are true?() 

    • A、 The program developer must create a thread to be responsible for free the memory.
    • B、 The garbage collection will check for and free memory no longer needed.
    • C、 The garbage collection allow the program developer to explicity and immediately free the memory.
    • D、 The garbage collection can free the memory used java object at expect time.

    正确答案:B

  • 第4题:

    Which two are the uses of the ASM metadata backup and restore (AMBR) feature?()

    • A、 It can be used to back up all data on ASM disks.
    • B、 It can be used to recover the damaged ASM disk group along with the data.
    • C、 It can be used to gather information about a preexisting ASM disk group with disk paths,disk name,failure groups,attributes templates,and alias directory structure.
    • D、 It can be used to re-create the ASM disk group with its attributes.

    正确答案:C,D

  • 第5题:

    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();

    正确答案:D,E

  • 第6题:

    Which three statements are true when the listener handles connection requests to an Oracle 12cdatabase instance with multithreaded architecture enabled In UNIX?()

    • A、Thread creation must be routed through a dispatcher process
    • B、The local listener may spawn a now process and have that new process create a thread
    • C、Each Oracle process runs an SCMN thread.
    • D、Each multithreaded Oracle process has an SCMN thread.
    • E、The local listener may pass the request to an existing process which in turn will create a thread.

    正确答案:A,D,E

  • 第7题:

    Your company acquires a new Internet domain name.You need to ensure that all users can receive e-mail messages sent to the new domain name.Which two actions should you perform?()

    • A、Create a sharing policy.
    • B、Create a remote domain.
    • C、Create an accepted domain.
    • D、Create an e-mail address policy.
    • E、Modify the properties of the default Receive connector.

    正确答案:C,D

  • 第8题:

    多选题
    Which two events will cause a slave server to create a new relay log file?()
    A

    Execution of the FLUSH LOGS statement

    B

    Starting of the SQL thread

    C

    Reaching the slave_pendign _jobs_size_max limit

    D

    Execution of FULSH TABLES WITH READ LOCK

    E

    Starting of the I/O thread


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

  • 第9题:

    多选题
    Which two statements regarding asymmetric key encryption are true?()
    A

    The same key is used for encryption and decryption.

    B

    It is commonly used to create digital certificate signatures.

    C

    It uses two keys: one for encryption and a different key for decryption.

    D

    An attacker can decrypt data if the attacker captures the key used for encryption


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

  • 第10题:

    单选题
    Which method in the Thread class is used to create and launch a new thread of execution?()
    A

     Run();

    B

     Start();

    C

     Execute();

    D

     Run(Runnable r);

    E

     Start(Runnable r);

    F

     Execute(Thread t);


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

  • 第11题:

    多选题
    Which two statements regarding a SQL profile are true?()
    A

    It is built by Automatic Tuning Optimizer.

    B

    It cannot be stored persistently in the data dictionary.

    C

    It can be used by the query optimizer automatically.

    D

    It can be created manually by using the CREATE PROFILE command.


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

  • 第12题:

    多选题
    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(); } } ).run();

    F

    new Thread(new Runnable() { public void run() { doStuff(); } }).start();


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

  • 第13题:

    Which two statements are true regarding the USING clause in table joins?()

    • A、It can be used to join a maximum of three tables 
    • B、It can be used to restrict the number of columns used in a NATURAL join 
    • C、It can be used to access data from tables through equijoins as well as nonequijoins 
    • D、It can be used to join tables that have columns with the same name and compatible data types

    正确答案:B,D

  • 第14题:

    Which method in the Thread class is used to create and launch a new thread of execution?()

    • A、 Run();
    • B、 Start();
    • C、 Execute();
    • D、 Run(Runnable r);
    • E、 Start(Runnable r);
    • F、 Execute(Thread t);

    正确答案:B

  • 第15题:

    Which two statements regarding asymmetric key encryption are true?()

    • A、The same key is used for encryption and decryption.
    • B、It is commonly used to create digital certificate signatures.
    • C、It uses two keys: one for encryption and a different key for decryption.
    • D、An attacker can decrypt data if the attacker captures the key used for encryption

    正确答案:A,B

  • 第16题:

    Which two statements regarding a SQL profile are true?()

    • A、 It is built by Automatic Tuning Optimizer.
    • B、 It cannot be stored persistently in the data dictionary.
    • C、 It can be used by the query optimizer automatically.
    • D、 It can be created manually by using the CREATE PROFILE command.

    正确答案:A,C

  • 第17题:

    Which two events will cause a slave server to create a new relay log file?()

    • A、Execution of the FLUSH LOGS statement
    • B、Starting of the SQL thread
    • C、Reaching the slave_pendign _jobs_size_max limit
    • D、Execution of FULSH TABLES WITH READ LOCK
    • E、Starting of the I/O thread

    正确答案:A,E

  • 第18题:

    You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls. Which two actions should you perform?()

    • A、Create a class that inherits HtmlTextWriter and that can emit the new markup.
    • B、Create a class that inherits StreamWriter and that can emit the new markup.
    • C、Reference the class in the <capabilities> element of the new device's browser definition file.
    • D、Reference the class in the <controlAdapters> element of the new device's browser definition file.

    正确答案:A,D

  • 第19题:

    Which two can be used to create a new Thread? ()

    • A、 Extend java.lang.Thread and override the run method.
    • B、 Extend java.lang.Runnable and override the start method.
    • C、 Implement java.lang.thread and implement the run method.
    • D、 Implement java.lang.Runnable and implement the run method.
    • E、 Implement java.lang.Thread and implement the start method.

    正确答案:A,D

  • 第20题:

    多选题
    Which three statements are true when the listener handles connection requests to an Oracle 12cdatabase instance with multithreaded architecture enabled In UNIX?()
    A

    Thread creation must be routed through a dispatcher process

    B

    The local listener may spawn a now process and have that new process create a thread

    C

    Each Oracle process runs an SCMN thread.

    D

    Each multithreaded Oracle process has an SCMN thread.

    E

    The local listener may pass the request to an existing process which in turn will create a thread.


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

  • 第21题:

    多选题
    Which two are the uses of the ASM metadata backup and restore (AMBR) feature?()
    A

    It can be used to back up all data on ASM disks.

    B

    It can be used to recover the damaged ASM disk group along with the data.

    C

    It can be used to gather information about a preexisting ASM disk group with disk paths,disk name,failure groups,attributes templates,and alias directory structure.

    D

    It can be used to re-create the ASM disk group with its attributes.


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

  • 第22题:

    多选题
    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();


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

  • 第23题:

    多选题
    Which two statements regarding symmetric key encryption are true?() (Choose two.)
    A

    The same key is used for encryption and decryption.

    B

    It is commonly used to create digital certificate signatures.

    C

    It uses two keys: one for encryption and a different key for decryption.

    D

    An attacker can decrypt data if the attacker captures the key used for encryption.


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

  • 第24题:

    多选题
    Which two can be used to create a new Thread?()
    A

    Extend java.lang.Thread and override the run method.

    B

    Extend java.lang.Runnable and override the start method.

    C

    Implement java.lang.thread and implement the run method.

    D

    Implement java.lang.Runnable and implement the run method.

    E

    Implement java.lang.Thread and implement the start method.


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