/* * Example Time1 * Prints a greeting message with the current time. */ public class Time1 { public static void main(String[] args) { System.out.println("Hello!"); System.out.println("The time is " + new java.util.Date()); } }