Write a definition of a Java class called "PersonName". The class should be defined so that the program below has the indicated output.© BrainMass Inc. brainmass.com November 29, 2021, 11:48 pm ad1c9bdddf
Please save as "PersonNameProblem.java"
public class PersonNameProblem
public static void main(String args)
PersonName pn = new PersonName("John","Albert");
PersonName fpn = new ...
The usage of class and object declaration is shown.