Home > database >  For help, the thigh.
For help, the thigh.

Time:09-18


3, write a Java application, design a student class Students, including attributes are: serial number, student id, name, gender, major, three courses (math, computer, English); Methods are: achievement scores, grade average, in addition to the serial number of each attribute assignment method, each attribute value acquisition method, etc., note: each create a Students object, order value increased 1; The first object number value is 1,
Write a main class StudentsDemo, 5 Students in the main method to create the object of the class, according to the requirements of the following output information:
(1) course of maximum/minimum points the serial number of the classmate, student id, name and the course score
(2) total maximum/minimum the serial number of the classmate, student id, name and all course score
(3) enter a student id or name, if there is such a student id or name is output all the students' information, otherwise the output information was not found,
3, write a Java application, design a student class Students, including attributes are: serial number, student id, name, gender, major, three courses (math, computer, English); Methods are: achievement scores, grade average, in addition to the serial number of each attribute assignment method, each attribute value acquisition method, etc., note: each create a Students object, order value increased 1; The first object number value is 1,
Write a main class StudentsDemo, 5 Students in the main method to create the object of the class, according to the requirements of the following output information:
(1) course of maximum/minimum points the serial number of the classmate, student id, name and the course score
(2) total maximum/minimum the serial number of the classmate, student id, name and all course score
(3) enter a student id or name, if there is such a student id or name is output all the students' information, otherwise the output information was not found,
  • Related