usage of class and object declaration

Write a definition of a Java class called "PersonName". The class should be defined so that the program below has the indicated output.

© SolutionLibrary Inc. solutionlibary.com 9836dcf9d7 https://solutionlibrary.com/computer-science/software-development/usage-of-class-and-object-declaration-32b

Solution Preview

...ter","F","Albonsa");
System.out.println(fpn.fml());
System.out.println(fpn.lfm());
}
}

Please save as "personName.java"

class PersonName
{
String first, middle, last;
public PersonName(String fi, String la)
{
this(fi,null,la);
}
public ...