import java.util.*;

public class StandardJavaObjectTypes
{
	public static void main(String[] args)
	{
		String s;
		Date d;

		//String------------------->
		s="Hello World!"; //Note we do NOT need to do
		                  //s=new String("Hello World!");
		                  //Because String is part of the
		                  //Java Language and is why it is
		                  //in the java.lang package.
		                  //This this would actually work:
		                  //s=new String("Hello World!");

		System.out.println("String: " + s);
		//------------------->

		//Date------------------->
		d=new Date(); //Create a new date object and since we are NOT
		              //passing anything to the constructor it will
		              //be initialized to the current time.
		              //Note: there is also a Date class in the
		              //java.sql package. This one is used for
		              //Dates from a Database.

		System.out.println("Date: " + d);
		//------------------->
	}
}
