Question: Implement your toString method. The output should be in the format: * Lastname, FirstName Middlename. For example, if the first name is John, last name

Implement your toString method. The output should be in the format: * "Lastname, FirstName Middlename". For example, if the first name is John, last name is Doe and middle name is Xavier, this method should return "Doe, John Xavier" If the middle name were empty or null, this this method should return: "Doe, John" public String toStringO I throw new UnsupportedoperationExceptionC" Remove this line and replace with your implementation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
