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 24, 2022, 11:30 am 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.