public class Print_in_main
{
	private int n;
	private boolean b;
	private String s;
	private static char c;	//static variable

	public Print_in_main()  	//we do not have to type default constructor --
	{				//it will be automatically created by Java
	}


	public static void main(String ag[])
	{
		Print_in_main temp = new Print_in_main();

		System.out.println("Default num is "     +temp.n);
		System.out.println("Default boolean is " +temp.b);
		System.out.println("Default string is "  +temp.s);

		//do not need to create an instance variable(temp) since 'c' is static
		//(calling static method from static context)

		System.out.println("Default char is '" +c+ "'");


		System.exit(0);
	}
}