摘要: import java.util.ArrayList;import java.util.Collections;import java.util.HashMap;import java.util.List;public class asdasd { public static void main(S 阅读全文
posted @ 2021-11-30 19:18 hrhnp 阅读(38) 评论(0) 推荐(0)
摘要: //商品类public class Goods { private String code; private String name; private double price; public Goods() { } public Goods(String code, String name, do 阅读全文
posted @ 2021-11-26 16:46 hrhnp 阅读(413) 评论(0) 推荐(0)
摘要: public class Poker { List<String> list = new ArrayList<>(); //准备牌 public void read() { List<String> num = new ArrayList<>(); List<String> color = new 阅读全文
posted @ 2021-11-26 16:36 hrhnp 阅读(270) 评论(0) 推荐(0)
摘要: package com.cn.file; import java.io.File;import java.io.IOException;import java.util.Arrays; public class abc { public static void main(String[] args) 阅读全文
posted @ 2020-11-18 17:38 hrhnp 阅读(110) 评论(0) 推荐(0)
摘要: package com.cn.demo; public class Circle { private double radius; public Circle() { } public Circle(double r) { this.radius=r; } public double getArea 阅读全文
posted @ 2020-11-07 14:11 hrhnp 阅读(158) 评论(1) 推荐(0)
摘要: public class test1 { private int length; private int wideth; public test1() { } public test1(int length,int wideth) { this.length=length; this.wideth= 阅读全文
posted @ 2020-10-24 22:07 hrhnp 阅读(255) 评论(0) 推荐(0)
摘要: public class alg { public static void main(String[] args) { int[] array= {171,72,19,16,118,51,210,7,18}; for(int i=0;i<array.length;i++) { int ge=arra 阅读全文
posted @ 2020-10-24 21:58 hrhnp 阅读(135) 评论(0) 推荐(0)