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

前端 未结 0 1832
再見小時候
再見小時候 2021-02-15 03:08

I just want to output current and I wrote

import java.util.*;

at beginning, and

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