摘要:
测试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 阅读全文
摘要:
时间戳 1 1.LocalDate转Date 2 3 LocalDate nowLocalDate = LocalDate.now(); 4 Date date = Date.from(localDate.atStartOfDay(ZoneOffset.ofHours(8)).toInstant() 阅读全文
摘要:
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 / 阅读全文
摘要:
1 编写程序将"jdk" 全部变成大写 并输出到屏幕 截取”DK“并输出到屏幕 1 package com.lv.study.am.first; 2 3 public class DemoString { 4 5 public static void main(String[] args) { 6 阅读全文