14.0k views
2 votes
(You should complete Self-Check 8.7 before answering this question. You may also want to consult your solution to Self-Check 8.11.) Write a toString method for the Name class that returns a String such as "John Q. Public". (You don't need to write the class header or declare the fields; assume that this is already done for you. Just write your method's complete code in the box provided.)

1 Answer

6 votes

Answer:

oh i see

Step-by-step explanation:

User Laurent Gosselin
by
5.7k points