public class Variables {
	public static void main(String[] args) {
		
		// we say: "the letter x is equal to the int 5"
		// so how do we do that in code?

		// we DECLARE the variable first

		int x;

		// this tells the Java that the letter x will hold an int. 
		// in order to put the number 5 into x, we need to INITIALIZE x.

		x = 5;

		// lets print this
		System.out.println(x);

		// we don't have to write it in two lines, we can initialize as soon as we declare
		int newYear = 2015;
		System.out.println(newYear);

		// let's try to declare and instantiate other things! 

		char firstLetter = 'A';
		System.out.println(firstLetter);

		String greeting = "Hello my name is...";
		System.out.println(greeting);

		double half = 0.5;
		System.out.println(half);

		double wholeNumber = 4;
		System.out.println(wholeNumber);

	}
}