Lesson_for_java_day21--java的多线程练习(ATM存取款机、多窗口卖票系统、5人赛跑)
一、ATM存取款机:packagesonyi;//取款机存取钱练习:publicclassTestATM{publicstaticvoidmain(String[]args){//开户Account1a=newAccount1(11111,100);System.out.println(a);//存取钱newThread(newATMWindow(a,1,50),"ATM1").start();n