上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 52 下一页
摘要: //方法三 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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 下一页