public class print { public print() { System.out.println("python print operating..."); } public print(int a) { System.out.println(a); } public print(double a) { System.out.println(a); } public print(boolean a) { System.out.println(a); } public print(String a) { System.out.println(a); } public print(int[] a) { for(int i : a) { System.out.print(i); System.out.print(i == a[a.length-1]?"":","); } } public print(int[] a, String b) { for(int i : a) { System.out.print(i); if(b == "sep=\") { System.out.print(i == a[a.length-1]?"":"\"); } if(b == "sep=.") { System.out.print(i == a[a.length-1]?"":"."); } if(b == "sep=-") { System.out.print(i == a[a.length-1]?"":"-"); } if(b == "sep=_") { System.out.print(i == a[a.length-1]?"":"_"); } if(b == "sep=/") { System.out.print(i == a[a.length-1]?"":"/"); } } } }
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)