上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 79 下一页
摘要: import java.net.InetAddress; import java.net.UnknownHostException; public class MainProcess { public static void main(String[] args) { InetAddress localhost = null; try { ... 阅读全文
posted @ 2017-09-02 21:10 Dsp Tian 阅读(379) 评论(0) 推荐(0)
摘要: package bd; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class JDBCTest { public stati... 阅读全文
posted @ 2017-09-02 21:10 Dsp Tian 阅读(462) 评论(0) 推荐(0)
摘要: 首先在https://github.com/xerial/sqlite-jdbc下载jar包 阅读全文
posted @ 2017-09-02 21:09 Dsp Tian 阅读(1022) 评论(0) 推荐(0)
摘要: import java.util.UUID; public class MainProcess { public static void main(String[] args) { UUID uuid = UUID.randomUUID(); System.out.println(uuid); } } 阅读全文
posted @ 2017-09-02 21:08 Dsp Tian 阅读(413) 评论(0) 推荐(0)
摘要: import java.text.SimpleDateFormat; import java.util.Date; import java.util.Calendar; public class MainProcess { public static void main(String[] args) { Calendar Cld = C... 阅读全文
posted @ 2017-09-02 21:07 Dsp Tian 阅读(1533) 评论(0) 推荐(0)
摘要: import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; public class MainProcess { public static String getHtmlConentByUrl... 阅读全文
posted @ 2017-09-02 21:07 Dsp Tian 阅读(2102) 评论(0) 推荐(0)
摘要: package sdfg; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class sdfg { public static String createMD5(String pw) ... 阅读全文
posted @ 2017-09-02 21:05 Dsp Tian 阅读(409) 评论(0) 推荐(0)
摘要: package sdfg; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class sdfg { public static String createMD5(String pw) ... 阅读全文
posted @ 2017-09-02 21:05 Dsp Tian 阅读(569) 评论(0) 推荐(0)
摘要: package aaa; public class aaa { public static int add(int a,int b) { return a+b; } public static void main(String args[]) { System.out.println(add(1,2)); ... 阅读全文
posted @ 2017-09-02 21:04 Dsp Tian 阅读(404) 评论(0) 推荐(0)
摘要: package sdfg; import java.net.InetAddress; //import java.net.UnknownHostException; import java.io.*; public class sdfg { public static void main(String[] args) throws IOException { ... 阅读全文
posted @ 2017-09-02 21:04 Dsp Tian 阅读(520) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 79 下一页