I don't know why my code won't run for no reason : I have been studying programmin for 3 months and I don't have a lot of experience so my question maybe silly for someone. This code I wrote in order to read the number in reverse won't run and there is no syntac errors.

public class fdujfdryujhftyh {

	public static void main(String[] args) {
		int a=8023;
		int rev=a%10;
		a=a/10;
		while(a!=0); {
			rev=rev*10+a%10;
			a=a/10;
		}
		System.out.println("Reverse number is"+rev);
		// TODO Auto-generated method stub

	}

}

