![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 78
esl2009good
这个作者很懒,什么都没留下…
展开
-
java string举例说明3
例如27:package Chapter06.string;import java.util.regex.Matcher;import java.util.regex.Pattern;public class StringDemo_27 { private static String REG_EXP = "^([0-9]{3}-?[0-9]{8})|([0-9]{4}-?[0-原创 2012-05-23 07:17:09 · 370 阅读 · 0 评论 -
java举例大全
java例子大全import java.util.Random;public class OneArray_01 { public static void main(String[] args) { Random rd = new Random(); // 创建Random对象 int array[] = new int[10]; // 创建一个长度为10的i原创 2012-05-21 00:03:02 · 455 阅读 · 1 评论 -
java string举例说明1
例如1:package Chapter06.string;public class StringDemo_01 { public static void main(String[] args) { String str0, str1, str2, str3, str4, str5, str6, str7; byte B_array[] = { (byte) 'a', (by原创 2012-05-23 07:10:06 · 357 阅读 · 0 评论 -
java string举例说明2
例如6:package Chapter06.string;public class StringDemo_06 { public static void main(String[] args) throws Exception { // ISO8859-1:拉丁文 System.out.println("ISO8859-1字符集与gb2312之间的转换:"); Str原创 2012-05-23 07:13:31 · 365 阅读 · 0 评论 -
java IO举例说明1
例如1:package Chapter07.file;import java.io.File;public class FileDemo_01 { public static void main(String[] args) { File file = new File("D:\\temp\\keytoolcmd.txt"); // 根据指定的路径创建一个File对象原创 2012-05-23 07:20:11 · 553 阅读 · 1 评论