[Java]: Reordered OTF example for a better logical flow.