Java Reference Objects API Demo