06 2016 档案
摘要:}catch(Exception e){ }
阅读全文
摘要:Insert title here 用户名: 密码: Insert title here Insert title here
阅读全文
摘要:Insert title here 登录: 爱好: Insert title here 提交成功 Insert title here "); out.print("爱好:"+aihao+""); %>
阅读全文
摘要:Insert title here ID: 回复: Insert title here id: 留言: id:"+ id + " 留言:"+liuyan )...
阅读全文
摘要:Insert title here 登录: 密码: Insert title here cuowu 对不起,输入出错!
阅读全文
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
阅读全文
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
阅读全文
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
阅读全文
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="java.util.*" %> <%@ page import="java.text.*"
阅读全文
摘要:在 eclipse 中建立 java 程序:输入身份证号或准考证号可以查询到学生的基本信息。 rs.close(); st.close(); conn.close(); 完成学生信息的删除功能
阅读全文
摘要:SQL中的单记录函数 1.ASCII返回与指定的字符对应的十进制数; SQL>select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE 65 97 48 32 2.CHR给出
阅读全文
摘要:一、 dual是一个虚拟表,用来构成select的语法规则,oracle保证dual里面永远只有一条记录。我们可以用它来做很多事情,如下: 1、查看当前用户,可以在 SQL Plus中执行下面语句 select user from dual; 2、用来调用系统函数 select to_char(sy
阅读全文
摘要:10.查询Score表中的最高分的学生学号和课程号。(子查询或者排序) 11、 查询每门课的平均成绩。 12、查询Score表中至少有5名学生选修的并以3开头的课程的平均分数。 13、查询分数大于70,小于90的Sno列。 14、查询所有学生的Sname、Cno和Degree列。 15、查询所有学生
阅读全文
摘要:5、 查询Score表中成绩为85,86或88的记录。 6、 查询Student表中“95031”班或性别为“女”的同学记录。 7、 以Class降序查询Student表的所有记录。 8、 以Cno升序、Degree降序查询Score表的所有记录。 9、 查询“95031”班的学生人数。
阅读全文
摘要:package C; public class Wugeren { static int age(int n) { int c; if( n==1 ) c=10; else c=age(n-1)+2; return c; } public static void main(String[] args
阅读全文
摘要:package C; public class Bisai { public static void main(String[] args) { String a="xyz",b="",c=""; for (int i = 0; i < 3; i++) { if(a.substring(i,i+1)
阅读全文
摘要:package C; public class Tao { public static void main(String[] args) { int m=1; for (int i = 10; i >1; i--) { m=(m+1)*2; } System.out.println("第一天摘了桃子
阅读全文
摘要:package C; public class Wanquanpingfang { public static void main(String[] args) { for (long i = -2147483648; i <= 2147483647; i++) { if((long)Math.sq
阅读全文
摘要:package C; public class Sushu { public static void main(String[] args) { int sum=0; for (int i = 101; i < 201; i++) { for (int j = 2; j <=i; j++) { if
阅读全文
摘要:1、 查询Student表中的所有记录的Sname、Ssex和Class列。 2、 查询教师所有的单位即不重复的Depart列。 3、 查询Student表的所有记录。 4、 查询Score表中成绩在60到80之间的所有记录。
阅读全文
摘要:package C; import java.util.*; public class Jiangjin { public static void main(String[] args) { System.out.println("输入当月利润:"); Scanner a=new Scanner(S
阅读全文
摘要:package a; import java.util.*; public class Yueshubeishu { public static void main(String[] args) { System.out.println("输入两个正整数:"); Scanner a=new Scan
阅读全文
摘要:package a; public class Wanshu { public static void main(String[] args) { for (int i = 1; i <= 1000; i++) { int sum=0; for (int j = 1; j < i; j++) { i
阅读全文
摘要:package a; public class Tuzi { public static void main(String[] args) { int a=1,b=0,c=0,sum = 0;//a 幼兔对数,b 小兔对数,c 成兔对数,sum 总对数 for (int i = 1; i <=24;
阅读全文
摘要:package a; import java.util.*; public class Fenjiezhiyinshu { public static void main(String[] args) { System.out.println("输入一个正整数:"); Scanner a=new Scanner(System.in); ...
阅读全文
摘要:表(一)Student (学生表) 表(一)Student中的数据 表(二)Course(课程表) 表(二)Course(课程表)中的数据 表(三)Score(成绩表) 表(三)Score(成绩表)中的数据 表(四)Teacher(教师表) 表(四)Teacher(教师表)中的数据
阅读全文
摘要:1. Thread类 2.Runnable接口 XuanZeChengShi2 city1=new XuanZeChengShi2(); Thread t1 = new Thread(city1,"北京") ; t1.start(); XuanZeChengShi2 city2=new XuanZe
阅读全文