Xebec interview question

They asked me about how trees are constructed in java !