I am confused about creating int variable for age in number 4 of excercise 4.


For reference, here is the task:

Create an int instance variable called age.

Have you looked at the example for that exercise? It says:

In the example above, we created the instance variable named modelYear.

There is a picture in that example showing the instance variable. It looks like this:

int modelYear;

Can you tell me what doubts you are having about creating an instance variable called age?