class buffer1{ private int value; void put(int i) { value=i; } int get() { return value; }}class sender1 extends Thread{ private buffer1 bf; public sender1(buffer1 bf) { this.bf=bf; } public void run() { for(int i=1;i