11 2022 档案
摘要:package com.challenger; import com.challenger.Util; public class InsertSort { public static void main(String[] args) { int i,j,exNum,k; int[] arr={6,3
阅读全文
摘要:package com.challenger;import com.challenger.Util;public class SelectSortDoWhile{ public static void main(String[] args) { //define array int[] arr={5
阅读全文
摘要:public class SelectSortWhile{ public static void main(String[] args) { //define array int[] arr={5,8,2,3,7,4,10,6,9,1}; //define i as array loop index
阅读全文
摘要:package com.challenger;import com.challenger.Util;public class SelectSort{ public static void main(String[] args) { int[] arr={5,8,6,3,1,4,10,9,2,7};
阅读全文
摘要:1.package must correspond to file path package is com.challenger path must be com/challenger/ 2.javac use -d to output classes into file path automati
阅读全文
摘要:String is fixed ,so object when created ,it cannot be modified any more. it's ineffective. in-effulent; when you use "+" to combine two String, via an
阅读全文
摘要:mikeli@dell-pc:~/code/algo_java/algs4_source_code$ jar xf algs4.jar Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] fil
阅读全文
摘要:usually use "whereis" and "locate" and "find" 1.whereis [-bmsu] filename -b:binary -m:man page -s:source file -u:unusual 2.locate filename will search
阅读全文