Infosys interview question

Any random generic Java based questions