Question: 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
java question
![java question C: Classes and Objects [10 marks] Write a Java class](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2f4fb4f768_45866f2f4fae51fb.jpg)
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 student's name and ID number (in some readable format)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
