摘要:
package com.day20; public class Test { public static void main(String[] args) { Demo01 site = new Demo01(); Thread person1= new Thread(site,"桃跑跑"); Thread person2= new Th... 阅读全文
2019年8月5日
摘要:
package com.day19; public class Test { public static void main(String[] args) { Thread thread = new Thread(new Demo01()); thread.setPriority(Thread.MAX_PRIORITY); thread.... 阅读全文
摘要:
package com.day18; public class Test { public static void main(String[] args) { Demo02 youngMan = new Demo02("年轻人",500,1); Demo02 oldMan = new Demo02("老年人",1500,1); Syst... 阅读全文