上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页
摘要: 阅读全文
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) 编辑
摘要: package com.cyjt97.eq;class StuDer{ private String name; private int age; public StuDer() { } @Override public boolean equals(Object obj) { if (obj in 阅读全文
posted @ 2023-03-16 16:51 文采呱呱 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-03-16 16:11 文采呱呱 阅读(10) 评论(0) 推荐(0) 编辑
摘要: package com.cyjt97.Frame; import javax.swing.*; public class JFrameDEME { public static void main(String[] args) { // 创建窗体 JFrame jf = new JFrame(); / 阅读全文
posted @ 2023-03-15 17:56 文采呱呱 阅读(8) 评论(0) 推荐(0) 编辑
摘要: package com.cyjt97.interior; public class day04 { public static void main(String[] args) { use(new cs() { @Override public void show() { System.out.pr 阅读全文
posted @ 2023-03-15 15:55 文采呱呱 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 静态类: package com.cyjt97.interior; public class day2 { public static void main(String[] args) { // 静态 Outer.Inner.show(); // Outer.Inner os = new Outer 阅读全文
posted @ 2023-03-13 18:16 文采呱呱 阅读(10) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页