Infosys interview question

Java Programming - Shift all zeros to the right