摘要: JAVA反射(放射)机制:“程序运行时,允许改变程序结构或变量类型,这种语言称为动态语言”。从这个观点看,Perl、Python、Ruby是动态语言,C++、Java、C#不是动态语言。但是JAVA有着一个非常突出的动态相关机制——Reflection,用在Java身上指的是可以于运行时加载、探知、 阅读全文
posted @ 2016-07-21 15:07 刘某人丶 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Hibernate是一个开放源代码的对象关系映射框架,它对JDBC进行了非常轻量级的对象封装,它将POJO与数据库表建立映射关系,是一个全自动的orm框架,hibernate可以自动生成SQL语句,自动执行,使得Java程序员可以随心所欲的使用对象编程思维来操纵数据库。 Hibernate可以应用在 阅读全文
posted @ 2016-07-11 08:36 刘某人丶 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Insert title here ID: 回复: Insert title here id: 留言: id:"+ id + " 留言:"+liuyan )... 阅读全文
posted @ 2016-06-27 09:07 刘某人丶 阅读(2703) 评论(0) 推荐(0) 编辑
摘要: Insert title here Insert title here 名称: 密码: Insert title here 你真笨蛋 阅读全文
posted @ 2016-06-25 08:27 刘某人丶 阅读(1338) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2016-06-14 08:55 刘某人丶 阅读(8509) 评论(0) 推荐(0) 编辑
摘要: 查询Student表中的所有记录的Sname、Ssex和Class列。 查询教师所有的单位即不重复的Depart列。 查询Student表的所有记录。 查询Score表中成绩在60到80之间的所有记录。 查询Score表中成绩为85,86或88的记录 查询Student表中“95031”班或性别为“ 阅读全文
posted @ 2016-06-13 10:16 刘某人丶 阅读(301) 评论(0) 推荐(0) 编辑
摘要: package a; import java.util.*; public class Fenjiezhiyinshu { public static void main(String[] args) { System.out.println("输入一个正整数:"); Scanner a=new Scanner(System.in); ... 阅读全文
posted @ 2016-06-12 08:46 刘某人丶 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 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+... 阅读全文
posted @ 2016-06-12 08:45 刘某人丶 阅读(5508) 评论(0) 推荐(0) 编辑
摘要: package a; import java.util.*; public class Yueshubeishu { public static void main(String[] args) { System.out.println("输入两个正整数:"); Scanner a=new Scanner(System.in); in... 阅读全文
posted @ 2016-06-12 08:43 刘某人丶 阅读(2680) 评论(0) 推荐(0) 编辑
摘要: package com.hanqi.xc; import java.util.*; public class XuanZeChengShi extends Thread { @Override public void run() { test(); } public void test() {... 阅读全文
posted @ 2016-06-04 08:28 刘某人丶 阅读(464) 评论(0) 推荐(0) 编辑