集合综合练习<二>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | package com.JiHeTotal; import java.util.Map; public class Student { int id; String name; Map<String, Double> scode; int totalSum; public int getId() { return id; } public void setId( int id) { this .id = id; } public String getName() { return name; } public void setName(String name) { this .name = name; } public Map<String, Double> getScode() { return scode; } public void setScode(Map<String, Double> scode) { this .scode = scode; } public Student(Integer id, String name, Map<String, Double> scode) { super (); this .id = id; this .name = name; this .scode = scode; } } |
【推荐】2025 HarmonyOS 鸿蒙创新赛正式启动,百万大奖等你挑战
【推荐】博客园的心动:当一群程序员决定开源共建一个真诚相亲平台
【推荐】开源 Linux 服务器运维管理面板 1Panel V2 版本正式发布
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步