摘要:
测试1 1 package com.lv.study.pm.second; 2 3 public class TestMath { 4 5 public static void main(String[] args) { 6 7 //随机得到一个浮点数Math.random() 8 System.o 阅读全文
posted @ 2020-03-04 20:35
代码吴彦祖
阅读(508)
评论(0)
推荐(0)
摘要:
时间戳 1 1.LocalDate转Date 2 3 LocalDate nowLocalDate = LocalDate.now(); 4 Date date = Date.from(localDate.atStartOfDay(ZoneOffset.ofHours(8)).toInstant() 阅读全文
posted @ 2020-03-04 20:33
代码吴彦祖
阅读(413)
评论(0)
推荐(0)
摘要:
1 package com.lv.study.am.first; 2 3 import java.math.BigDecimal; 4 5 public class TestBigDecimal { 6 7 public static void main(String[] args) { 8 9 / 阅读全文
posted @ 2020-03-04 20:27
代码吴彦祖
阅读(862)
评论(0)
推荐(0)
摘要:
1 编写程序将"jdk" 全部变成大写 并输出到屏幕 截取”DK“并输出到屏幕 1 package com.lv.study.am.first; 2 3 public class DemoString { 4 5 public static void main(String[] args) { 6 阅读全文
posted @ 2020-03-04 09:05
代码吴彦祖
阅读(1403)
评论(0)
推荐(0)
浙公网安备 33010602011771号