IBM interview question

real time example where we can use java?