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 February 24, 2021, 2:07 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.