[单项选择题] 为了支持压栈线程与弹栈线程之间的交互与同步,应在下划线处填入的选项是()
pubIis class StackTest
private int idx=0;
private int[]data=new int[8];
public void push(int i)
synchronized(this)
______;
data[idx]=i;
idx++;
______;
A.this.notify()
B.interrupt()
C.this.wait()
D.sleep()