Amazon Interview Question

How is BBST implemented in Java?