下载此文档

石化盈科笔试题.doc


文档分类:生活休闲 | 页数:约7页 举报非法文档有奖
1/7
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/7 下载此文档
文档列表 文档介绍
石化盈科笔试题
}
}
class Parent {
public void show() {
(
石化盈科笔试题
}
}
class Parent {
public void show() {
("class Parent show ");
}
}
class Sub extends Parent {
public void show() {
("class Sub show ");
}
}

public class tryCatch {
/**
* ***@param args
*/
public static void main(String[] args) {
try {
("begin ");
("end ");
return;
} catch (Exception e) {
("excepton ");
} finally {
("finally");
}
}
}

public class MySort {
public static void main(String[] args) {
MySort sort = new MySort();
int[] arr = new int[] { 3, 22, 11, 5, 400, 99, 20, 22, 5 };
(arr);
for (int i : arr) {
(i + ",");
}
}
public void sort(int[] targetArr) {// 小到大的排序
int temp = 0;
for (int i = 0; i < ; i++) {
for (int j = i; j < ; j++) {
if (targetArr[i] < targetArr[j]) {
// 方法一:
temp = targetArr[i];
targetArr[i] = targetArr[j];
targetArr[j] = temp;
/*
* /方法

石化盈科笔试题 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数7
  • 收藏数0 收藏
  • 顶次数0
  • 上传人Alone-丁丁
  • 文件大小2.29 MB
  • 时间2022-04-30