06 2016 档案

摘要:键值对是数组类型,有键有值生成一个键值对,输出视为数组型可添加多个键值对。 阅读全文
posted @ 2016-06-30 10:38 薛岩 阅读(431) 评论(0) 推荐(0)
摘要:Insert title here 添加Cookle 阅读全文
posted @ 2016-06-30 10:35 薛岩 阅读(633) 评论(0) 推荐(0)
摘要:package lianxi2; import java.sql.*; import java.util.Scanner; public class lianxi2 { public static void main(String[] args) { Connection conn = null; try { Class.forName("... 阅读全文
posted @ 2016-06-24 10:18 薛岩 阅读(10750) 评论(0) 推荐(0)
摘要:package lianxi1; import java.sql.*; import java.util.*; public class lianxi1 { public static void main(String[] args) { //定义Connection Connection conn = null; ... 阅读全文
posted @ 2016-06-24 10:17 薛岩 阅读(2229) 评论(0) 推荐(0)
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 阅读全文
posted @ 2016-06-24 10:16 薛岩 阅读(235) 评论(0) 推荐(0)
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 阅读全文
posted @ 2016-06-24 10:15 薛岩 阅读(306) 评论(0) 推荐(0)
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import ="java.util.*" %> <%@ page import ="java.text.* 阅读全文
posted @ 2016-06-24 10:13 薛岩 阅读(637) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-06-16 19:43 薛岩 阅读(171) 评论(0) 推荐(0)
摘要:1、 查询Student表中的所有记录的Sname、Ssex和Class列。 2、 查询教师所有的单位即不重复的Depart列。 3、 查询Student表的所有记录。 4、 查询Score表中成绩在60到80之间的所有记录。 5、 查询Score表中成绩为85,86或88的记录。 6、 查询Stu 阅读全文
posted @ 2016-06-16 19:40 薛岩 阅读(245) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-06-12 10:33 薛岩 阅读(759) 评论(0) 推荐(0)
摘要:package xiancheng; //以继承方式支持多线程 public class Test2 extends Thread{ //重写fun方法 //fun方法是用来被star()自动调用 @Override public void run() { //调用需要并发执行的语句 test(); 阅读全文
posted @ 2016-06-03 21:46 薛岩 阅读(631) 评论(0) 推荐(0)
摘要:package shurushuchu; import java.io.*; public class test5 { public static void main(String[] args) { try { File file = new File("d:/IoDemo.java"); if(!file.exists()) ... 阅读全文
posted @ 2016-06-01 11:05 薛岩 阅读(233) 评论(0) 推荐(0)
摘要:package shurushuchu; import java.io.*; public class test4 { public static void main(String[] args) { //创建文件输出 try { File file = new File("d:/test4.txt"); if(!file.... 阅读全文
posted @ 2016-06-01 11:04 薛岩 阅读(1310) 评论(0) 推荐(0)