Digit Reverse

Can someone fix this code for me???

Reverse.java

public class Reverse
{

public static int num,newnum,count,countDigit,rightDigit,largest,smallest,number;

static String reverseOrder()
{

		for(count=1; count <=countDigit; count++)
			  {
	   			rightDigit = num % 10;
	   			newnum = newnum * 10 + rightDigit;
	   			num = num / 10;
			  }
			  System.out.println("Reversed is : " + newnum);
}

static String reverseLargest()
{

for (counter=1; counter<10; counter++)
{
System.out.print( "Enter number: " );
number = input.nextInt();

	if ( number > largest )
	largest = number;

	System.out.printf( "Largest number is %d\n", largest );

}

static String reverseSmallest()
{

	System.out.print( "Enter number: " );
	number = input.nextInt();

	if ( number < largest )
	smallest = number;

	System.out.printf( "Smallest number is %d\n", smallest );
}

}

ReverseTest.java

import java.util.Scanner;

public class ReverseTest
{
public static int num,newnum,count,countDigit,rightDigit;

public static void main(String args[])
	{
	Reverse test = new reverseOrder();
	Scanner input = new Scanner( System.in );
	System.out.println( "Enter integer : " );
	num = input.nextInt();
	System.out.println( "How many digits does it has : " );
	countDigit = input.nextInt();
	System.out.println("Integer value : " + num);
	System.out.println("/n");
	System.out.println("Reverse order : " + test.reverseOrder() );
	System.out.println("/n");
	System.out.println("Largest value : " + test.reverseLargest() );
	System.out.println("/n");
	System.out.println("Smallest value : " + test.reverseSmallest() );
	}

}