静态方法: Thread类中的静态方法表示操作的线程是"正在执行静态方法所在的代码块的线程". 为什么Thread类中要有静态方法,这样就能对CPU当前正在运行的线程进行操作.下面来看一下Thread类中的静态方法: 1:currentThread /** * Returns a reference to the currently executing thread object. * * @return the currently executing thread. */ publi
1.java四大特性:抽象.继承.封装,多态 构造函数: http://blog.csdn.net/qq_33642117/article/details/51909346 2.java数据基本类型:byte short int long double float char boolean, 包装类型:Boolean,Character,Byte,Short,Integer,Long,Float,Double Integer :整型变量的值在-128-127之间时不会new新的对象