会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奋斗的少年WH
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
42
43
44
45
46
47
48
49
50
···
52
下一页
2016年9月26日
java使用正则表达式对注册页面进行验证
摘要: //方法三 String regex="^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]).{6,15}$"; System.out.println(passwd.matches(regex));
阅读全文
posted @ 2016-09-26 15:24 奋斗的少年WH
阅读(1130)
评论(0)
推荐(0)
2016年9月22日
日历2
摘要: 1 package Format_daqo; 2 3 import java.text.SimpleDateFormat; 4 import java.util.Calendar; 5 import java.util.Date; 6 import java.util.Scanner; 7 8 /** 9 * 1、第一行的7个格子里放星期几 10 2、第二...
阅读全文
posted @ 2016-09-22 18:01 奋斗的少年WH
阅读(343)
评论(0)
推荐(0)
Calendar类
摘要: 1 package Format_daqo; 2 3 import java.util.Calendar; 4 import java.util.Date; 5 6 public class CalendarTest { 7 8 public static void main(String[] args) throws Exception { 9 ...
阅读全文
posted @ 2016-09-22 13:49 奋斗的少年WH
阅读(163)
评论(0)
推荐(0)
SimpleDateForma类
摘要: 1 package Format_daqo; 2 3 import java.text.SimpleDateFormat; 4 import java.util.Date; 5 6 public class SimpleDateFormatTest { 7 8 public static void main(String[] args) throws Excepti...
阅读全文
posted @ 2016-09-22 13:39 奋斗的少年WH
阅读(1210)
评论(0)
推荐(0)
DateFormat类
摘要: 1 package Format_daqo; 2 3 import java.util.Date; 4 import java.text.DateFormat; 5 6 public class DateFormatTest { 7 8 public static void main(String[] args) throws Exception { 9 ...
阅读全文
posted @ 2016-09-22 13:34 奋斗的少年WH
阅读(152)
评论(0)
推荐(0)
Random类
摘要: 1 package Format_daqo; 2 3 import java.util.Arrays; 4 import java.util.Random; 5 6 public class Randoms { 7 8 public static void main(String[] args) { 9 int[] score =new int[1...
阅读全文
posted @ 2016-09-22 13:26 奋斗的少年WH
阅读(133)
评论(0)
推荐(0)
BigDecimal类
摘要: 1 package Format_daqo; 2 3 import java.math.BigDecimal; 4 5 public class BigDecimalTest { 6 7 public static void main(String[] args) { 8 9 //配置参数run as->Runconfigurations->Arguments ...
阅读全文
posted @ 2016-09-22 13:04 奋斗的少年WH
阅读(113)
评论(0)
推荐(0)
Math类
摘要: 1 package Format_daqo; 2 3 import java.util.Scanner; 4 5 public class Maths { 6 7 public static void main(String[] args) { 8 Scanner sc=new Scanner(System.in); 9 10 ...
阅读全文
posted @ 2016-09-22 13:00 奋斗的少年WH
阅读(128)
评论(0)
推荐(0)
2016年9月21日
日历制作
摘要: 1 package Format_daqo; 2 3 import java.util.Calendar; 4 import java.util.Scanner; 5 6 public class calendar_wh { 7 public static void main(String[] args){ 8 Scanner sc=new Scann...
阅读全文
posted @ 2016-09-21 21:20 奋斗的少年WH
阅读(179)
评论(0)
推荐(0)
2016年9月19日
二分查找2
摘要: 1 package com.wh.ObjectHomeWork; 2 3 import java.util.Arrays; 4 import java.util.Scanner; 5 6 public class CharArray { 7 private char[] words; 8 9 public CharArray(char[] words) {...
阅读全文
posted @ 2016-09-19 21:05 奋斗的少年WH
阅读(136)
评论(0)
推荐(0)
上一页
1
···
42
43
44
45
46
47
48
49
50
···
52
下一页
公告