摘要:
Problem Description You are the CEO of Nasty Hacks Inc., a company that creates small pieces of malicious software which teenagers may use to... 阅读全文
摘要:
Problem Description The International Clown and Pierrot Competition (ICPC), is one of the most distinguished and also the most popular events... 阅读全文
摘要:
Problem Description Roy has just moved into a new apartment. Well, actually the apartment itself is not very new, even dating back to the day... 阅读全文
摘要:
说明:因为上个代码,总是要输入完整的绝对路径,比较麻烦,于是,就写了这个小程序,直接进入文件对话框选择需要运行的class文件。只需要提前输入完整的类名。注意:加的MyTest必须打个包,加上: import cn.hncu.myJuniitApp.vo.MyTest; 不然不是同... 阅读全文
摘要:
//获得系统屏幕分辨率//得到当前屏幕的分辨率:Toolkit.getDafaultToolkit().getScreenSize()Toolkit t = Toolkit.getDefaultToolkit() ;Dimension size=t.getScreenSize();... 阅读全文
摘要:
做自己的类加载器 虚拟机的核心是通过类加载器来加载.class文件,然后进行相应的解析执行。那么我们可以自己做类加载器,手动加载需要的.class以进行解析执行,从而扩展虚拟机的功能。 以下内容摘自API文档:应用程序需要实现 ClassLoader 的子类,以扩展 Java 虚拟... 阅读全文
摘要:
Problem Description A DFS(digital factorial sum) number is found by summing the factorial of every digit of a positive integer. For example ,... 阅读全文