Write a method called processName that accepts a Scanner for the console as a parameter and prompts

Question:

Write a method called processName that accepts a Scanner for the console as a parameter and prompts the user to enter a full name, then prints the name in reverse order (i.e., last name, first name). Here is an example dialogue with the user:

Please enter your full name: Sammy Jankis

Your name in reverse order is Jankis, Sammy

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: