Java认证考试

Given that t1 is a reference to a live thread, which is true?()A、The Thread.sleep() method can take t1 as an argument.B、The Object.notify() method can take t1 as an argument.C、The Thread.yield() method can take t1 as an argument.D、The Thread.setPriority()

题目

Given that t1 is a reference to a live thread, which is true?()

  • A、The Thread.sleep() method can take t1 as an argument.
  • B、The Object.notify() method can take t1 as an argument.
  • C、The Thread.yield() method can take t1 as an argument.
  • D、The Thread.setPriority() method can take t1 as an argument.
  • E、The Object.notify() method arbitrarily chooses which thread to notify.
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

What are the components of Chinese names?

A、Given name and middle names

B、Family name

C、Family name and given name

D、Last name and surname


参考答案:C

第2题:

Given that tables T1 and T2 contain the following rows:Table T1: C1 C2 1 4 1 3 1 2Table T2: C1 C2 1 1 1 2 1 3Which of the following queries will return only those rows that exist in both T1 and T2?()

A.SELECT * FROM t1 UNION SELECT * FROM t2

B.SELECT * FROM t1 UNION DISTINCT SELECT * FROM t2

C.SELECT * FROM t1 INTERSECT SELECT * FROM t2

D.SELECT * FROM t1 WHERE (c1,c2)= (SELECT c1,c2 FROM t2)


参考答案:C

第3题:

___________, he can finish the work in a couple of weeks.

A. Giving good health

B. If give good health

C. Given good health

D. If he is good given health


参考答案:C

第4题:

Why does IS-IS use the SPF algorithm?()

  • A、to determine the pseudonode ID
  • B、to determine the next hop to a given destination
  • C、to determine the complete path to a given destination
  • D、to determine the number of routers present in a given area

正确答案:B

第5题:

证件资料页上出现“Middle name”时,在录入时应()。

  • A、添加至“Given name”的前面
  • B、添加至“Given name”的后面
  • C、添加至“Given name”的中间
  • D、不予录入

正确答案:B

第6题:

下面不属于同一函数模板的是()。A.template t1 max(t1 &a,t1 &b) {…}template<

下面不属于同一函数模板的是( )。

A.template<class t1> t1 max(t1 &a,t1 &b) {…}template<class t2> t2 max(t2 &a,t2 &b) {…}

B.template<class t1>t1 max(t1 a,t1 b){…}template<class t2>t2 max(t2 &a,t2 &b){…}

C.template<class t1> t1 max(t1 * a,t1 * b) {…} template<class t2> t2 max(t2 &a,t2 &b) {…}

D.template<class t1>t1 max(t1 a,t1 b){…}template<class t2>t2 max(t2 &a,t2 &b,t2 c){…}


正确答案:D
解析:函数模板的重载是靠模板参数的数量不同来区分的,因为函数模板是抽象的,有待于进一步实例化,所以靠参数类型无法区别调用哪个函数模板。

第7题:

下列语句中不正确的是()。

  • A、T1=‘How’
  • B、T1=How
  • C、T1=“How”
  • D、T1=123

正确答案:A

第8题:

____ a lift in your car, I would not have been home.

A、Had you not given me

B、I had not given

C、You had not given me

D、Had I not given


答案:B

第9题:

What is the Cisco IOS default behavior for switching from the shared tree to the shortest path tree in PIM-SM operations?()

  • A、immediately after receiving the first packet on the shared tree for a given (S,G)
  • B、after receiving over 1 kb/s traffic onthe shared tree for a given (S,G)
  • C、10 seconds after receiving the first packet on the shared tree for a given (S,G)
  • D、30 seconds after receiving the first packet on the shared tree for a given (S,G)
  • E、after receiving over 10 kb/s traffic onthe shared tree for a given (S,G)

正确答案:A

第10题:

长期放疗后,照射野内的椎体MR表现为()

  • A、T1加权像高信号,T2加权像高信号
  • B、T1加权像高信号,T1加权像低信号
  • C、T1加权像低信号,T1加权像低信号
  • D、T1加权像低信号,T1加权像高信号
  • E、T1加权像等信号,T1加权像低信号

正确答案:C

更多相关问题