System. out. printf("%tc", new Date());1.这个语句的new Date是一定要这样子写吗?2.new在这里的作用是什么?3.那个Date可以写成别的单词吗?
Date date = new Date(); System. out. printf("%tc", date);
"%tc"
这是面向对象的内容,你可能还没学。。了解一下java面向对象吧