1. Engineering
  2. Computer Science
  3. java question...

Question: java question...

Question details

java question

C: Classes and Objects [10 marks] Write a Java class called Student. Each student will have a name (String), an id (int), and a list of grades (array of doubles). Include a constructor that has three input parameters (for name, id and grade list) and sets initial state for the object. Write a toString) method that returns a useful string representation of a student object. The string representation should contain the students name and ID number (in some readable format)

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution