/*
 * Code2.java
 * Dan Armendariz
 * Computer Science S-76
 *
 * Defining and assigning values to fields and local variables.
 *
 */
 
class Code2 {

	// define a field
	private static int num;

	public static void main(String [] args) {
		// local variable
		int anotherNum = 5;
		
		// assigning a value to a variable
		num = 2;
		
		// print out some information
		System.out.println("num: " + num);
		System.out.println("anotherNum: " + anotherNum);
	}

}
