摘要:
1.日期格式的 2.时间戳 http://www.cnblogs.com/cc-java/p/6699045.html 阅读全文
摘要:
不加L的话,默认就是int型了。 当给long赋值一个超过int范围的值的时候,会出问题。 java中对字面的数值是以int的形式来表示的 例如:long l= 6553555522222 报错:The literal 6553555522222 of type int is out of rang 阅读全文