【计算机二级考试模拟题】JAVA面试题集(4).docxVIP

  • 0
  • 0
  • 约2.75千字
  • 约 6页
  • 2021-10-23 发布于湖北
  • 举报

【计算机二级考试模拟题】JAVA面试题集(4).docx

PAGE PAGE 1 【计算机二级考试模拟题】JAVA面试题集(4) 答:用插入法进行排序代码如下? package?test;? import?java.util.*;? class?InsertSort? {? ArrayList?al;? public?InsertSort(int?num,int?mod)? {? al?=?new?ArrayList(num);? Random?rand?=?new?Random();? System.out.println(The?ArrayList?Sort?Before:);? for?(int?i=0;

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档