All pastes #445933 Raw Edit

Something

public text v1 · immutable
·published 2007-04-18 05:21 UTC
rendered paste body
import javax.swing.*;

/**
 * This class....
 *
 * @author Bill Kukowski
 */
class phil {
	/**
	 * Main method.
	 *
	 * @params args
	 */
	public static void main(String[] args) {
		
		int[] digits = {0,0,0};

				for (int i=0; i<digits.length; i++)
				{
					digits[i] = (int) ((Math.random() * 9) + 1);
				}
		
		String foo = "";
		
		for (int r=0;r<digits.length;r++)
		{
			foo += digits[r] + " ";
		}

		System.out.println( foo );
	}
}