What's the difference between import java.util.*; and import java.util.Date; ?

前端 未结 0 1844
我寻月下人不归
我寻月下人不归 2021-02-15 03:10

I just want to output current and I wrote

import java.util.*;

at beginning, and

System.out.println(new Date());
相关标签:
回答
  • 消灭零回复
提交回复
热议问题