I'm attempting to change the order of any given name and get an output of ("LastName, FirstName") by only using one string variable.
For example, if entered by the user as Winston Church it would print out
System.out.println("Church,Winston");
How would you combine the Full Name of the user into one or simply just use one string variable for the input? I don't wish to split it but rather combine it.