Task 6 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

4.2 Constructors — Student constructor

Total: 0 / 4 pts
Practice mode — check each part and get hints as you go.
Task

Write a constructor for Student taking a name and a grade, storing both in the fields. The parameters share the field names, so use this.

The program prints Ada 11.

Your solution