I'm trying to create a program in Java that takes user input and converts it into Pig Latin. To do this, I am planning to get the user input, store it as a String, and somehow convert it to an array so I am able to work with each individual word in there.
How should I go about this?