Write a constructor for the UndergraduateStudent class that accepts a name as a parameter and initializes the

Question:

Write a constructor for the UndergraduateStudent class that accepts a name as a parameter and initializes the UnderGraduateStudent ’s state with that name, an age value of 18, and a year value of 0.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: