public class L2 {
	
	public static void main(String[] args) {
		
		System.out.println("Hello, world");
		System.out.println("Bye, world");

		// Data that is used by a program is stored in
		// the computer's RAM (Random Access Memory)

		// Variables hold data for our program to use
		// A variable declaration has the following form
		// type identifier = value;

		// The type can be primitive or a reference
		// In Java, the primitive types are

		// long, int, short, byte (whole numbers, +, -)
		// double, float (decimal numbers, +, -)
		// char (keyboard characters, UNICODE)
		// boolean (true and false)

		// Reference types store the 
		// starting address of a region of memory. 

		// String

		int height = 10;
		int width = 20;
		int length = 5;

		// ALWAYS provide meaningful names for variables
		
		int volume = height * width * length;
		System.out.println("volume: " + volume);

		char middleInitial = 'A';
		System.out.println("middle initial: " + middleInitial);



	}
}
