Code Sample in Java...