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

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

单选题:Which one below is checked exception that should be declared if

Luz5年前 (2021-05-10)1103
Which one below is checked exception that should be declared if a method throws it? @[C](2)A. NullPointerExceptionB.…

单选题:Given code below, which statement is correct?

Luz5年前 (2021-05-10)1355
Given code below, which statement is correct? @[C](2)```Javapublic class Person{ static int arr[] = new int[5];…

单选题:Which method below can change the priority of a thread?

Luz5年前 (2021-05-10)837
Which method below can change the priority of a thread? @[B](2)A. run() B. setPriority() C. yield() D. sleep()A.run()B.…

单选题:What must be done when throwing an integer as an exception?

Luz5年前 (2021-05-10)1771
What must be done when throwing an integer as an exception? @[A](2)A. Integers cannot be thrown.B. Declare integers…

单选题:Give code below, which line cannot be put at line 1)?

Luz5年前 (2021-05-10)829
Give code below, which line cannot be put at line 1)? @[D](2)```Java1)2) public class Interesting{ 3) //do sth4…

单选题:Which of the interfaces below is a collection as duplicating, or

Luz5年前 (2021-05-10)801
Which of the interfaces below is a collection as duplicating, ordered, unsorted? @[A](2)A. ArrayList B. HashMap C. Tre…

单选题:What is the value of `s2` after this code executes?

Luz5年前 (2021-05-10)615
What is the value of `s2` after this code executes? @[C](2)```JavaString s1 = "Happy#day"; String s2 = s1.substring(1,…

单选题:Which one below is NOT a valid Java identifier?

Luz5年前 (2021-05-10)1565
Which one below is NOT a valid Java identifier? @[B](2)A. Int B. goto C. 变量 D. $0A.IntB.gotoC.变量D.$0答案:B…

单选题:Given code below:

Luz5年前 (2021-05-10)588
Given code below:```Java public class Main { int a = 10; int c = 30; public Runnable getRunnable() { final int a =…

单选题:What best describes the appearance of an application with the fo

Luz5年前 (2021-05-10)691
What best describes the appearance of an application with the following code? @[B](2)```Javapublic class FlowAp exte…