当前位置:首页
> Luz 第6046页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论单选题:Which one below is checked exception that should be declared if
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?
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?
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?
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)?
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
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?
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?
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:
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
What best describes the appearance of an application with the following code? @[B](2)```Javapublic class FlowAp exte…