随笔都是学习笔记
随笔仅供参考,为避免笔记中可能出现的错误误导他人,请勿转载。
摘要: 设计思路: 需要考虑的是信息的存储,显示。 首先是接口规范的定义: public interface ISetStudent { // 规范学生信息设置类 public Student[] setStudentsArray(Student[] stuArray,Student student, in 阅读全文
posted @ 2022-02-24 14:34 时间完全不够用啊 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 设计思路: 比较器首先Comparable<T>,并使用Array.sort()进行排序,最后使用Array.toString()进行输出显示。 代码实现: 首先进行学生类的创建,学生类进行接口Comparable<T>的实现。 public class Student implements Com 阅读全文
posted @ 2022-02-24 11:24 时间完全不够用啊 阅读(160) 评论(0) 推荐(0) 编辑