![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jdk
facetoqiang
这个作者很懒,什么都没留下…
展开
-
java内部类
定义一个测试类Test.java public class Test { public static void main(String[] args) { Runnable t = new Runnable(){ public void run() { } }; } private static class StaticClassA{} ...原创 2013-11-08 15:09:41 · 53 阅读 · 0 评论 -
java 简单理解实例变量类变量并理解setXXX和getXxx
今天带着自己的兴趣看了java-对象和内存控制有关的资料,对以前习以为常的代码写法如: public class Entity1 { private String fieldx ; public Entity1() { super(); } public Entity1(String fieldx) { super(); this.fieldx...原创 2013-07-15 17:59:50 · 261 阅读 · 0 评论 -
java访问JVM和OS信息
JVM Version System.getProperty("java.runtime.version"); JVM Vendor System.getProperty("java.vm.vendor"); OS Name System.getProperty("os.name"); OS Version System.getProperty("os.version...原创 2014-05-19 11:38:41 · 156 阅读 · 0 评论