package ch02;
public class Test1 {
	public static void main(String[] args) {
		double pi = 3.14159, y;
		int radius = 5, x;
		char c1 = 'a', c2;
		String s1 = "abcd123456", s2 = null, s3;
		System.out.println("radius=" + radius);
		System.out.println("PI =" + pi);
		// System.out.println("x="+x); //该语句出错，因为没有对变量x初始化
		y = 2 * pi * radius;
		System.out.println("y=" + y);
		System.out.println("c1=" + c1);
		// System.out.println("c2="+c2); //该语句出错，因为没有对变量c2初始化
		System.out.println("s1=" + s1);
		System.out.println("s2=" + s2);
		// System.out.println("s3="+s3); //该语句出错，因为没有对变量s3初始化
	}
}
