摘要: package com.cyjt97.arr; import java.lang.reflect.Array; import java.util.Arrays; public class arr { public static void main(String[] args) { int arr[] 阅读全文
posted @ 2023-03-17 17:36 文采呱呱 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-03-17 16:38 文采呱呱 阅读(8) 评论(0) 推荐(0) 编辑
摘要: package com.cyjt97.inGer; public class InGer { public static void main(String[] args) { // 手动封箱 // 将数据类型手动包装为类 int num = 10; Integer i1 = Integer.valu 阅读全文
posted @ 2023-03-17 16:26 文采呱呱 阅读(9) 评论(0) 推荐(0) 编辑
摘要: package com.cyjt97.BD; import java.math.BigDecimal; import java.math.RoundingMode; //BigDecimal解决小数不精准问题 public class day { public static void main(St 阅读全文
posted @ 2023-03-17 15:55 文采呱呱 阅读(5) 评论(0) 推荐(0) 编辑
摘要: currentTimeMillis: package com.cyjt97.SY; public class ay { public static void main(String[] args) { long start = System.currentTimeMillis(); String s 阅读全文
posted @ 2023-03-17 15:02 文采呱呱 阅读(26) 评论(0) 推荐(0) 编辑
摘要: package com.cyjt97.M; public class mathM { public static void main(String[] args) { // abs取绝对值 System.out.println(Math.abs(-123));//123 System.out.pri 阅读全文
posted @ 2023-03-17 14:54 文采呱呱 阅读(18) 评论(0) 推荐(0) 编辑