Amazon interview question

How is BBST implemented in Java?