-->
当前位置:首页 > Luz 第6041页
Luz

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

单选题:一个栈的入栈序列是a,b,c,d,e,则出栈序列不可能是( )。

Luz5年前 (2021-05-10)617
一个栈的入栈序列是a,b,c,d,e,则出栈序列不可能是( )。 @[C](2)A. e,d,c,b,aB. d,e,c,b,aC. d,c,e,a,bD. a,b,c,d,eA.e,d,c,b,aB.d,e,c,b,aC.d,c…

单选题:若已知一个栈的入栈序列是1,2,3,…,n,其输出序列为p1,p2,p3,…,pn,若p1=n,则pi为( )。

Luz5年前 (2021-05-10)834
若已知一个栈的入栈序列是1,2,3,…,n,其输出序列为p1,p2,p3,…,pn,若p1=n,则pi为( )。 @[C](2)A. iB. n-iC. n-i+1D. 不确定A.iB.n-iC.n-i+1D.不确定答案:C…

单选题:What will happen to access an invalid index of an array?

Luz5年前 (2021-05-10)1030
What will happen to access an invalid index of an array? @[B](2)A. Program terminated. B. Exception thrown. C. System c…

单选题:Which one below is NOT correct to declare a variable of array?

Luz5年前 (2021-05-10)819
Which one below is NOT correct to declare a variable of array? @[D](2)A. int[] a B. int a[] C. int[][] a D. int[]a[]A.i…

单选题:Which statement below is NOT correct?

Luz5年前 (2021-05-10)1119
Which statement below is NOT correct? @[C](2)A. A thread is an instance of Thread class.B. A thread runs the run() met…

单选题:About AWT and Swing, which statement below is correct?

Luz5年前 (2021-05-10)1602
About AWT and Swing, which statement below is correct? @[D](2)A. Swing is a subset of AWT.B. AWT displays the same am…

单选题:To make `method( -4.4 ) == -4` successful, which method of `java

Luz5年前 (2021-05-10)1220
To make `method( -4.4 ) == -4` successful, which method of `java.lang.Math` should be used? @[A](2)A. round() B. min() C…

单选题:Which expression below is for generating a random number of [20,

Luz5年前 (2021-05-10)863
Which expression below is for generating a random number of [20,999]? @[B](2)A. `(int)(20+Math.random()*979) `B. `20+(i…

单选题:设循环队列中数组的下标范围是0—n-1,其头尾指针分别为f和r,头指针f总是指向队头元素,尾指针r总是指向队尾元素的下一个位置,

Luz5年前 (2021-05-10)1369
设循环队列中数组的下标范围是0—n-1,其头尾指针分别为f和r,头指针f总是指向队头元素,尾指针r总是指向队尾元素的下一个位置,则其元素的个数为( )。 @[D](2)A. r-fB. r-f+1C. (r-f)%n+1D. (r…

单选题:设循环队列中数组的下标范围是0—n-1,其头尾指针分别为f和r,头指针f总是指向队头元素,尾指针r总是指向队尾元素的下一个位置,

Luz5年前 (2021-05-10)2093
设循环队列中数组的下标范围是0—n-1,其头尾指针分别为f和r,头指针f总是指向队头元素,尾指针r总是指向队尾元素的下一个位置,则队满的条件是( )。 @[B](2)A. r==fB. (r+1)%n==fC. r+1==fD.…