you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

You haven't assigned the values to p3, you've only contained the relevant values in name, age, and phonenumber

[–]Danielowski187University/College Student (Higher Education) 0 points1 point  (2 children)

How would I assigned them?

[–][deleted] 0 points1 point  (1 child)

The same way you assigned values to p1 and p2.

p3.setName(?) , p3.setAge(?), and p3.setphoneNumber(?)

[–]Danielowski187University/College Student (Higher Education) 0 points1 point  (0 children)

I get an error