自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 Reflect 数组操作示例

package com.age.www;import java.lang.reflect.Array;public class ReflectArrayDemo { public static void main(String[] args) throws Exception{  Object arry1d=Array.newInstance(Class.forName

2016-02-27 17:06:55 553

原创 匿名内部类 java 示例

class InnerAnonymousDemo {public static void main(String[] args) {int b=20;String str= new Object(){int a=10;String str="hello";public String toString(){System.out.println(a+str)

2016-02-24 16:16:13 587

原创 Java Reflect 反射 .invoke 示例

package com.age.www;import java.lang.reflect.Constructor;import java.lang.reflect.InvocationTargetException;import java.lang.reflect.Method;public class ReflectionDemo1 {public static vo

2016-02-23 22:58:09 564

原创 Java 反射机制 .class .getClass() Class.forName("") .TYPE int void

package com.age.www;public class ReflectionDemo {public static void main(String[] args)  {//对象名.getClass()产生Class对象Emploree1 e=new Emploree1();Class emploree=e.getClass();System.ou

2016-02-23 09:47:55 996

转载 职坐标 选课系统整体框架 参考

package com.iotekclass.ht.view;import java.util.Scanner;import com.iotekclass.ht.beans.Student;import com.iotekclass.ht.dao.StudentDao;import com.iotekclass.ht.dao.impl.IStudentDao;

2016-02-21 18:58:10 464

原创 随机验证码

import java.util.Random;class RandomSecurityCode{public static void main(String[] args) {//System.out.println("Hello World!");char[]  letter={'A','B','C','D','E','F','G','H','I','G','K','L

2016-02-20 22:18:33 209

原创 DateDemo 时间格式类 SimpleDateFormat DateFormat

时间格式类 SimpleDateFormat DateFormat Date

2016-02-19 16:06:43 365

原创 JAVA初始化顺序验证

class InitDemo {public static void main(String[] args) {//System.out.println(ABC.ID);//new ABC("xiaowang");new EFG("xiaoli",20);/* 输出结果:D:\EditPlusJava>java InitDemoABC静态代码块stati

2016-02-17 17:00:19 325

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除