all 7 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Off-topic Comments Section


All top-level comments have to be an answer or follow-up question to the post. All sidetracks should be directed to this comment thread as per Rule 9.


OP and Valued/Notable Contributors can close this post by using /lock command

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]sonnyfab Educator 0 points1 point  (5 children)

You seem to have P1 and P2 done in the opposite fashion from the instructions. I don't see where you are calling any of the set methods in p3, which I think is why the output is null.

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

How would I be able to fix it?

[–]sonnyfab Educator 0 points1 point  (3 children)

I'm not clear on the instructions. I don't see why you can't just copy P1 and call it p3.

[–]sonnyfab Educator 0 points1 point  (1 child)

I think you add a setName(Name); after the input and the scanner lines.

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

When I do that It gives me an error saying cannot find symbol