/** *模拟场景,一家三口用同一账户银行卡,每当余额不足是,会通知丈夫存款,余额充足时妻子和儿子会循环花费。 *练习wait()和notify()方法 */ public class TestBank { public static void main(String[] args) { Account acc = new Account(“1234” , “1234” , 2000.0); Thread h = new Thread(new Husband(acc) , “丈夫”); Thread w = new Thread(new