0283-move-zeroes/0283-move-zeroes.java
<filename>0283-move-zeroes/0283-move-zeroes.javaclass Solution {
    public void moveZeroes(int[] nums) {
        int zp = 0;
        for(int i = 0; i<nums.length;i++){
            if(nums[i] != 0){
            nums[zp++] = nums[i];    
            }
            
        }
        while(zp<nums.length){
            nums[zp++]=0;
        }
        
    }
}