上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: package Xwxx; import java.util.ArrayList; import java.util.Iterator; import java.util.function.IntBinaryOperator; public class Fanx { public static void main(String[] args) { ArrayList list=... 阅读全文
posted @ 2018-05-29 16:34 韩凯 阅读(87) 评论(0) 推荐(0)
摘要: package Swxx; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; public class Xx { public static void main(String[] args) { // TODO Auto-generated method stub ... 阅读全文
posted @ 2018-05-29 16:32 韩凯 阅读(77) 评论(0) 推荐(0)
摘要: package Swxx; public class Person { private String name; private int age; public Person(String name, int age) { super(); this.name = name; this.age = age; } public String getName() { r... 阅读全文
posted @ 2018-05-29 16:31 韩凯 阅读(87) 评论(0) 推荐(0)
摘要: package com.oracel.demo01; import java.util.Random; public class Swzy { public static void main(String[] args) { // TODO Auto-generated method stub method(); method1(); } //练习二:将src数组中前3个... 阅读全文
posted @ 2018-05-26 11:27 韩凯 阅读(73) 评论(0) 推荐(0)
摘要: package com.oracel.demo01; public class Sjzhhm { public static void main(String[] args) { method(); method1(); method2(); method3(); } public static void method(){ //统计程序执行时间 l... 阅读全文
posted @ 2018-05-26 11:26 韩凯 阅读(73) 评论(0) 推荐(0)
摘要: package com.oracel.demo01; public class Sz { public static void main(String[] args) { // TODO Auto-generated method stub menthod(); } public static void menthod(){ //原数组 int[] a... 阅读全文
posted @ 2018-05-26 11:26 韩凯 阅读(166) 评论(0) 推荐(0)
摘要: package com.oracel.demo01; public class Sjzh { // 将基本数据类型转字符串 public static void main(String[] args) { //基本数据类型+“”(字符串)就变文本了,字符串。=String int i=9; String str=i+""; System.out.println(str+... 阅读全文
posted @ 2018-05-26 11:24 韩凯 阅读(145) 评论(0) 推荐(0)
摘要: package com.orcal.demc01;import java.util.Date;public class Xuexi { public static void main(String[] args) { // TODO Auto-generated method stub //计算机时 阅读全文
posted @ 2018-05-26 11:23 韩凯 阅读(115) 评论(0) 推荐(0)
摘要: package com.oracel.demo01; public class Baozhuang { //将字符串转成基本数据类型 public static void main(String[] args) { //parsexxx(String str)传入的字符串必须是对应的基本类型格式 //java.lang.NumberFormatException,有空格所报的异常... 阅读全文
posted @ 2018-05-26 11:23 韩凯 阅读(68) 评论(0) 推荐(0)
摘要: package com.orcal.demc01; public class Regex2 { public static void main(String[] args) { // TODO Auto-generated method stub //将符合规则的字符串内容,全部替换为新字符串 //将a替换成b String str="java ai wo,wo ... 阅读全文
posted @ 2018-05-26 11:22 韩凯 阅读(94) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页