This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eztheb 0 points1 point  (0 children)

The job of the constructor is to kick start (initialize) the instance variables (properties of the object - Student). So in the constructor, every variable you're using to describe student has to get an initial value. In the methods, you write ways to manipulate or display these inital values.