// ********** ProxyDemo.java ********** interface ProductIF { public int getValue(); public void setValue(int i); } class Product implements ProductIF { private int i; public int getValue() { return i; } public void setValue(int i) { this.i = i; } } class ProductProxy implements ProductIF { Product p = new Product(); public int getValue() { return p.getValue(); } public void setValue(int i) { p.setValue(i); } } class ProxyDemo { private static final int MAX = 1000; public static void main(String args[]) { long t1 = System.currentTimeMillis(); for (int i=0; i