摘要:
package thread; //认识并发问题 火车买票 public class testdemo3 implements Runnable { private int ecigarette=10; @Override public void run(){ while (true){ if (e 阅读全文
摘要:
Java提供了八种基本数据类型:byte、short、int、long、float、double、boolean、char,每种基本类型都有其对应的类 基本数据类型 对应包装类 byte Byte short Short int Integer long Long float Float doubl 阅读全文