我尝试了以下代码。
System.out.println(new Date(1268234290000));
它抛出异常
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The literal 1268234290000 of type int is out of range
如何解决?
我尝试了以下代码。
System.out.println(new Date(1268234290000));
它抛出异常
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The literal 1268234290000 of type int is out of range
如何解决?