皮皮学,免费搜题
登录
搜题
【单选题】
在堆栈类Sharedstack的定义中,为了保证堆栈在并发操作中数据的正确性,下画线处填入的修饰符是(两个下画线的填写内容相同)( )。 public class SharedStack{ int idx=0; char[]data=new char[10]; public synchtonized void push(char c){……} publR,synchronized void pop{……} }
A.
Dublic
B.
不使用修饰符
C.
private
D.
protected
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】下面程序段的运行结果是()。 INTEGER FNF FNF(X,Y)=X/Y+X A=-2.0 B=4.0 B=I.0+FNF(A,B) WRITE(*,′(F5.1)′)B END (A) -1.0 (B) 0.0 (C) 1.0 (D) 2.0
【单选题】Directions: Replace the underlined part in each of the following sentences with a word or phrase from the choices below. 1. The research team has made all necessary preparations for the project to sta...
A.
underwent
B.
adored
C.
postponed
D.
put on
【简答题】Directions: Replace the underlined part in each of the following sentences with a word or phrase from the box below. Change the form where necessary. be destined to, be flooded with, for instance, pul...
【单选题】某投资方案贴现率为18%时,净现值为-3. 17万元,贴现率为16%时,净现值为6. 12万元,则该方案的内含收益率为( ) 。
A.
0.1468
B.
0.1668
C.
0.1601
D.
0.1732
【单选题】Directions: Replace the underlined part in each of the following sentences with a word or phrase from the choices below. 1 All electronic computers are made up of four basic units although they may b...
A.
in use
B.
in addition
C.
consist of
D.
put in
【简答题】Directions: Replace the underlined part in each of the following sentences with a word or phrase from the box below. Change the form where necessary. She had no liking for aimlessness, and besides tho...
【简答题】Directions: Replace the underlined part in each of the following sentences with a word or phrase from the box below. Change the form where necessary. be destined to, be flooded with, for instance, pul...
【简答题】Directions: Replace the underlined part in each of the following sentences with a word or phrase from the box below. Change the form where necessary. be destined to, be flooded with, for instance, pul...
【简答题】Directions: Replace the underlined part in each of the following sentences with a word or phrase from the box below. Change the form where necessary. be destined to, be flooded with, for instance, pul...
【单选题】下面程序段的运行结果是( )。 INTEGER FNF FNF(X,Y)=X/Y+X A=-2.0 B=4.0 B=I.0+FNF(A,B) WRITE(*,′(F5.1)′)B END
A.
-1.0
B.
0.0
C.
1.0
D.
2.0
相关题目: