Java?????--??????????
???????????? ???????[ 2015/5/15 13:22:29 ] ????????????????
????????2????????鳤???????????????????
public class FunctionDemo {
public static void main(String[] args){
int[] arr = new int[]{1??9??6};
int sum = 0;
System.out.println("length="+arr.length);//??????鳤??
for(int x=0;x<arr.length;x++){
sum+=arr[x];//??????????????????
System.out.println("arr["+x+"]"+"="+arr[x]);
}
System.out.println("sum="+sum);
}
}//??????????length=3
arr[0]=1
arr[1]=9
arr[2]=6
sum=16
????????3??????????????е??????м?????????????????????????????????????????????????????????
public class FunctionDemo {
public static void main(String[] args){
int[] arr = new int[]{1??9??6};
printArry(arr);//printArray????????????????Щ?????????????????????????飬???е??ü??ɡ?
}
public static void printArry(int[] arr){
int sum = 0;
for(int x=0;x<arr.length;x++){
if(x!=arr.length-1)//?????????????????????
System.out.print(arr[x]+"??");
else{System.out.print(arr[x]);}
sum+=arr[x];
}
System.out.println();
System.out.println("sum="+sum);
}
}
????????4??e??????
public class FunctionDemo {
public static void main(String[] args){
int[] arr = new int[]{1??9??6};
//???????
printArry(arr);
//????
bubbleSort(arr);
//?????
printArry(arr);
}
public static void printArry(int[] arr){
for(int x=0;x<arr.length;x++){
if(x!=arr.length-1)
System.out.print(arr[x]+"??");
else{System.out.print(arr[x]);}
}
System.out.println();
}
public static void bubbleSort(int[] arr){
for(int x=0;x<arr.length-1;x++){
for(int y = 0;y<arr.length-x-1;y++){//-x????????????α??????????-1????????????????硣
if(arr[y]>arr[y+1]){
int temp = arr[y];
arr[y] = arr[y+1];
arr[y+1] = temp;
}
}
}
}
}
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Java???????????Щ???????????????Java????????????????Java?б???Map????????Java Web???????????????Java??????????????д?????Java????????7???????????????????????(java .net ?????)???Java??????????Python??????Java webdriver??λ????????′????е?????Java??д??????????????????Java???????????????JavaScript????????????Java?????????????????? Java???????10??????????????Java?м????????????????java???????ü???????????м???????????????????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????