网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下面选项中,哪一个是合法的标识符()。
- A、hello world
- B、1Demo
- C、_3_
- D、class
参考答案
更多 “下面选项中,哪一个是合法的标识符()。A、hello worldB、1DemoC、_3_D、class” 相关考题
考题
下面程序创建了一个线程并运行,请填空,使程序完整。public class ThreadTest {public static void main (String[] args) {Hello h=Hew Hello ();【 】t.start ();}}class Hello implements Runnable {int i;public void run () {while(true) {System.out.println("Hello" +i++);if(i==5) break;}}}
考题
请阅读下面的程序classTest/{privatestaticStringname;static/{name="World";System.out.print(name);/}publicstaticvoidmain(String[]args)/{System.out.print("Hello");Testtest=newTest();/}/}下列选项中,程序运行结果是()。:A.WorldB.HelloC.World HelloD.Hello World
考题
语句PrintFormat(“Hello World”,“”)的输出结果是()。A、hello WORLDB、hello worldC、HELLO WORLDD、HELLO world
考题
单选题下面选项中,哪一个是合法的标识符()。A
hello worldB
1DemoC
_3_D
class
热门标签
最新试卷