Java實現一個學生類Student

一、設計一個類Student,該類包括姓名、學號和成績。設計一個方法,按照成績從高到低的順序輸出姓名、學號和成績信息。 public class Student { public static void main(String[] args) { Student [] num =new Student [3]; //建立一個一維數組 num[0] = new Student ("
相關文章
相關標籤/搜索