I really don't know what the problem is. Could you please help me?
You have to create an object of your person class.
Since your person class requires a name and an age we will give it both parameters.
var sally = new Person("Sally Bowles", 39);
That makes a variable named sally hold an object of your person class.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.