首页/ 题库 / [多选题]

相关题目

Windows中,Alt+Tab键的作用是____

Windows中,"记事本"文件默认的文件扩展名是".txt"

文件ABC.mp3存放在F盘的T文件夹中,它的完整路径是F:\T\ABC.mp3

下列IP地址中,正确的是____

2.只限制物体沿任何方向移动,不限制物体转动的支座是(   )。

桁架各杆的轴力如(    )所示(10分)

7.平面力偶系的合成结果是(    )。

10构件抵抗破坏的能力称为   )。

PowerPoint中,若为幻灯片中的对象设置"飞入"效果,应选择____按钮。

10.手术室护理工作的特殊性表现在: 

public static void main(String[] args) {

int i=1, s=0;

while(true) {

if(i%2==0) s+=i;

if(i++>=10) break;

}

System.out.println("s="+s);

}

public static void main(String[] args) {

int c0=0, c1=0, c2=0;

for(int x=1; x<=20; x++) {

switch(x%3) {

case 0: c0++; break;

case 1: c1++; break;

case 2: c2++; break;

}

}

System.out.println("c0,c1,c2="+c0+","+c1+","+c2);

}

public class XXK2 {

private int a,b;

public XXK2(int aa, int bb) {a=aa; b=bb;}

public int f1(int x) {

if(x>10) return a+b+3*x;

else return a*b*x;

}

public static void main(String[] args) {

XXK2 x=new XXK2(3,4);

int y=x.f1(8);      

System.out.println("y="+y);

}

}

public class XXK4 {

public static void main(String[] args) {

int []a={2,5,8,10,15,20};

int s=0;

for(int i=0; i<a.length; i++) s+=a[i];

System.out.println("s="+s);

}

}

public class XXK4 {

public static void main(String[] args) {

String []a={"xxk","weirong","xucong","xuxiaohua","baojuan"};

int m=0;

for(int i=0; i<a.length; i++) {

int n=a[i].length();

if(n>m) m=n;

}

System.out.println("m="+m);

}

}

Public class Test {

Public static void main(String[] args) {

Vector teamList = new Vector();

teamList.add("Z");

teamList.add("L");

teamList.add("W");

teamList.remove(0);

teamList.remove(0);

System.out.println(teamList.size()+","+teamList.get(0));

 

}

       

}

public class XXK4 {

public static void main(String[] args) {

int [][]a={{2,5,8},{3,6,9},{4,5,6}};

int []b=new int[3];

int i,j;

for(i=0; i<a.length; i++)

for(j=0; j<a[i].length; j++)

b[i]+=a[i][j];

for(i=0; i<b.length; i++)

System.out.print(b[i]+" ");

}

}

class ABC {

String name;

double price;

public ABC(String na, double pr) {name=na; price=pr;}

public int compareTo(ABC x) {

if(name.compareTo(x.name)>0) return 1;

if(name.compareTo(x.name)<0) return -1;

else return 0;

}

}

public class XXK5 {

public static void main(String[] args) {

String []s={"apple", "pear", "tangerme", "banana", "grape"};

double []d={3.8, 2.5, 3.2, 4.3, 5.2};

ABC []ar=new ABC[s.length];

int i,k=0;

for(i=0; i<ar.length; i++)

ar[i]=new ABC(s[i],d[i]);

for(i=1; i<ar.length; i++)

if(ar[i].compareTo(ar[k])>0) k=i;

System.out.println(ar[k].name+" "+ar[k].price);

}

}

public class StackTest {

public static void main(String[] args) {

Stack<Integer> st = new Stack<Integer>();

st.push(new Integer(11));

st.push(new Integer(22));

st.push(new Integer(33));

 

System.out.println("size is-> "+st.size());

System.out.println("Top is-> "+st.peek());

st.pop();

System.out.println("new Top is-> "+st.peek());

}

}

弹性预算的显著优点是(      )。

广告位招租WX:84302438

免费的网站请分享给朋友吧