皮皮学,免费搜题
登录
搜题
【判断题】
无论Java源程序包含几个类的定义,若该源程序文件以a.java命名,编译后只生成一个名为A的字节码文件。
A.
正确
B.
错误
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】This product has a feature that is not essential.
【单选题】A country has an absolute advantage in the production of a product when it _____.
A.
has the capability to produce the product within its boundaries
B.
is more efficient than any other country in producing it
C.
has the largest domestic demand for the product
D.
has access to the raw materials needed to produce the product
【单选题】有以下程序: void swap1(int *a,int *b) {int *c=a; s=b,b=c; } void swap2(int *a.int *b) { int c=*a; *a=*b,*b=c; } main() {int a=10, b=15; swap 1(&a,&b) ; printf('%d,%d,',a,b) ; a=10,b=15; swap2(&a,&b) ; prin...
A.
15,10,10,15
B.
15,10,15,10
C.
10,15,10,15
D.
10,15,15,10
【简答题】有以下程序void sort(int a[],int n){ int i,j,t for(i=0i
【单选题】下面哪些是由全国人民代表大会及常务委员会制定的法律( )。
A.
《国防法》
B.
《纪律条令》
C.
《内务条令》
D.
《征兵工作条例》
【单选题】有以下程序的输出结果是( ) void swap1(int c[ ]) { int t t=c[0]c[0]=c[1]c[1]=t } void swap2(int c0,int c1) { int t t=c0c0=c1c1=t } main( ) { int a[2]={3,5},b[2]={3,5} swap1(a) swap2(b[0],b[1]) printf(“%d %d %d %d/...
A.
5 3 5 3
B.
5 3 3 5
C.
3 5 3 5
D.
3 5 5 3
【简答题】下列程序的运行结果为【 】。 include<iostream.h> void main(void) {int i=10; switch(i) { case 9:i=i+1; case 10:i=i+1; case 11:i=i+1; default:i=i+1; } cout<<i<<endl; }
【单选题】有以下程序: #include <stdio.h> void swap1(int c[]) { int t; t=c[0]; c[0]=c[1]; c[1]=t; } void swap2(int c0,int c1) { int t; t=c0; c0=c1; c1=t; } main() { int a[2]={3,5},b[2]={3,5}; swap1(a); swap2(b[0],b[1...
A.
5 3 5 3
B.
5 3 3 5
C.
3 5 3 5
D.
3 5 5 3
【单选题】有下列程序: void sort(int a[],int n) { int i,j,t; for(i=0;i
A.
1,2,3,4,5,6,7,8,9,l0,
B.
1,2,7,6,3,4,5,8,9,10,
C.
1,2,7,6,5,4,3,8,9,10,
D.
1,2,9,8,7,6,5,4,3,10,
【单选题】有下列程序: void sort(int a[],int n) { int i,j,t; for(i=0;i for(j=i+1;j if(a[i] } main { int aa[10]:{1,2,3,4,5,6,7,8,9,10),i; sort(aa+2,5); for(i=0;i<10;i++)printf("%d,",aa[i]); printf("\n"); } 程序运行后的输出结果是...
A.
1,2,3,4,5,6,7,8,9,l0,
B.
1,2,7,6,3,4,5,8,9,10,
C.
1,2,7,6,5,4,3,8,9,10,
D.
1,2,9,8,7,6,5,4,3,10,
相关题目: