摘要:
public static void main(String[] args) { final Timer timer = new Timer(); TimerTask task = new TimerTask(){ int count = 0; int wj = 10; @Override public void run() { count++; if (count % 4 == 0) { ... 阅读全文
摘要:
byte(1个字节8位-128~127)\ char(2个字节 16位)\ int(4个字节 32位)\ long(8个字节 64为)\ float(4个字节 32位)\ double(8个字节 64位) 阅读全文
摘要:
try { } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); }finally{ } 1:finally并不是必须存在的,不过开发过程中建议加上finally,里面可以使用来执行打印日子代码 阅读全文