A.You are eligible to vote
B.You can vote in 18 years
C.You can eligible to vote.Your can vote in 0 years
D.You can vote in 0 years
第1题
第2题
What does the following output? Stream <character> chars = Stream.generate(() -> ’a’); chars.filter(c -> c < ’b’) .sorted() .findFirst() .ifPresent(System.out::print);
A、a
B、The code runs successfully without any output.
C、The code enters an infinite loop.
D、The code compiles but throws an exception at runtime.
第3题
A、You are eligible to vote.
B、You can vote in 18 years.
C、You can eligible to vote.Your can vote in 0 years.
D、You can vote in 0 years.
第4题
What happens when you try to compile and run the following program?
class Mystery{String s;public static void main(String[] args){
Mystery m=new Mystery();m.go();}void Mystery(){s=”constructor”;}void go(){System.out.println(s);}
}()
A.this code will not compile
B.this code compliles but throws an exception at runtime
C.this code runs and “constructor” in the standard output
D.this code runs and writes “null” in the standard output
第6题
A、The output will be periodic with the same period as the input signal.
B、The output is not periodic.
C、Each of the Fourier coefficients of the output is the corresponding Fourier coefficient of input multiplied by a complex number whose value is a function of the frequency corresponding to that Fourier coefficient.
D、The output will be periodic with the period which is not the same as the input signal
第7题
A、6
B、12
C、nothing
D、a syntax error is produced
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!