摘要: Student2student1=newStudent2("李明","男");Student2student2=newStudent2("刘丽","女");Mapstu=newHashMap();stu.put("Jack",student1);stu.put("Rose",student2);System.out.println("键集"+stu.keySet());System.out.println("值集"+stu.values 阅读全文
posted @ 2013-06-24 18:53 月夜风2013 阅读(705) 评论(0) 推荐(0) 编辑
摘要: java小程序调用Processprocess=Runtime.getRuntime().exec("C:/WINDOWS/QQ.exe");打开了QQ程序,现在就是只有关闭QQ程序java程序才能退出。想问的就是java程序打开版本低程序之后,QQ程序继续运行,而java程序自行退出。如何才能实现这种效果??publicclasscallExe{/***@paramargs*/publicstaticvoidmain(String[]args){Runtimert=Runtime.getRuntime();Processp=null;StringfileLac=" 阅读全文
posted @ 2013-06-24 18:52 月夜风2013 阅读(343) 评论(0) 推荐(0) 编辑
合肥搬家公司 全自动包装机