/*
 * Code3.java
 * Dan Armendariz
 * Computer Science 76
 * Building Mobile Applications
 *
 * Assigning values to various types of variables.
 *
 */

class Code3 {

	public static void main(String [] args) {

		int number = 123;
		String str = "Hello, World!";
		
		// print out an integer
		System.out.println("number: "+number);

		// print out a string
		System.out.println("str: "+str);
		
		// print out a substring, a method of the String class
		// a list of methods is available from:
		// http://java.sun.com/javase/6/docs/api/java/lang/String.html
		System.out.println("substring: "+str.substring(7, 12));

	}

}