Marlabs interview question

why use java