国土资源
地震
地貌
海洋
自然地理常识
西域地名
中国古代地名
人文地理常识
邯郸
上海
中国行政区划
世界地理
湖北地理
广西地理
中国宗教名胜
贵州地理
中国地理知识
地质年代
东亚名胜
地理名胜
水文
气候
环境保护
林业
自然现象
生物理论
自然生态
微生物
哺乳动物
鱼类
鸟类
动物生理
动物知识
植物
江西历史人物
东北历史人物
浙江历史人物
历史名人
外国文学家
文学家
红军人物
军事名人
经济人物
宗教人物
社科人物
查看更多
在线名词解释大全
-
搜索结果
热门搜索:
冲击力
勾股定理
万有引力
[单选题]
在createtable语句中,对于“身份证”属性列,应采用下面哪种数据类型?
[单选题]
合法的数组定义是
[单选题]
importjava.io.*;classPerson{publicvoidprint(){System.out.print("Person");}}classEmployeeextendsPerson{publicvoidprint(){System.out.print("Employee");}}classManagerextendsEmployee{publicvoidprint(){System.out.print("Manager");}}publicclassTest{publicstaticvoidmain(String[]args){Managerman=newManager();Personperson1=newManager();Personperson2=newEmployee();person1.print();person2.print();}}对于上述代码,其结果输出为
[单选题]
importjava.io.*;classPerson{publicvoidprint(){System.out.print("Person");}publicvoidprintMyGender(Strings){this.print();System.out.print(s+"");}}classGender{Stringtype="gender";publicvoidprint(Personp){p.printMyGender(type);}}classFemaleextendsGender{publicFemale(){type="female";}}classMaleextendsGender{publicMale(){type="male";}}classEmployeeextendsPerson{publicvoidprint(){System.out.print("Employee");}}classManagerextendsEmployee{publicvoidprint(){System.out.print("Manager");}}publicclassTest{publicstaticvoidmain(String[]args){Managerman=newManager();Employeeem=newEmployee();Gendergender1=newMale();Gendergender2=newFemale();gender1.print(man);gender2.print(em);}}对于以上代码,其运行结果是
[单选题]
阅读下面的程序,输出结果是()publicclassTestDemo{intm=5;publicvoidsome(intx){m=x;}publicstaticvoidmain(String[]args){newDemo().some(7);}}classDemoextendsTestDemo{intm=8;publicvoidsome(intx){super.some(x);System.out.println(m);}}
[单选题]
1.如果在程序设计过程中需要使用系统标准库函数中的数学函数(如求指数幂的pow(x,3)函数等),需用include命令将下列_____文件,包含在程序源代码中。
[单选题]
2.1Whatfunctiondoyouusetoreadastring?
[单选题]
以下选项,不是Python保留字的选项是:()
[单选题]
24 Supposes="Welcome",whatistype(s)?()
[单选题]
classTest{staticintA=100;publicstaticintf(){A=A+5;returnA;}publicstaticvoidmain(String[]args){intB=Test.f();Test.f();}}上述代码执行完后A和B的值为多少?
[单选题]
publicclassMainimplementsRunnable{privateintk;publicMain(){this.k=0;}publicMain(int_k){this.k=_k;}publicvoidrun(){inti=k;System.out.println();while(i<50){System.out.print(i+"");i+=2;}System.out.println(Thread.currentThread().getName()+"结束");}publicstaticvoidmain(String[]args){Threadthread_odd=newThread(newMain(1),"奇数线程");Threadthread_even=newThread(newMain(2),"偶数线程");//注释1:将thread_even的线程优先级设置为10thread_odd.start();//注释2System.out.println("currentThread:"+Thread.currentThread().getName());System.out.println("activeCount"+thread_odd.activeCount());}}上述代码中thread_odd.activeCount()的作用是()?
[单选题]
publicclassTest{publicstaticvoidmain(String[]args){shorta,b,c;a=1;b=2;c=a+b;a+=2;}}以上代码中,哪一句是错误的?
[单选题]
publicclassTest{publicstaticvoidmain(String[]args){booleanx=true;booleany=false;shortz=42;if((z++==42)&&(y=true))z++;if((x=false)||(++z==45))z++;System.out.println("z="+z);}}程序的输出结果为().
[单选题]
publicclassTest{publicstaticvoidmain(String[]args){intx=5;switch(x){case1:case2:case3:System.out.println("一季度");break;case4:case5:case6:System.out.println("二季度");break;default:System.out.println("三季度以上");break;}}}以上代码的运行结果为()?
[单选题]
以下哪种初始化数组的方式是错误的?
上页
1
...
4
5
6
7
8
9
...
67
下页
扫描二维码
关注公众平台
京ICP备2022028318号-3