(线程的同步)为了支持压栈线程与弹栈线程之间的交互与同步,在程序的下画线处依次填入的语句是________。public class IntStack{ private int idx=0; private int[] data =new int[8]; public ______ void push(int i){ data[idx]= i; idx++; _______ } .......}
(线程的同步)为了支持压栈线程与弹栈线程之间的交互与同步,在程序的下画线处依次填入的语句是________。public class IntStack{ private int idx=0; private int[] data =new int[8]; public ______ void push(int i){ data[idx]= i; idx++; _______ } .......}
1