代码如下:
package day05;
public class shijian { public static void main (String[]args){ java.util.Date date = new java.util.Date(); System.out.println(date.toString());}}
最简单的程序