Stuck on this part in an assignment I have. What I have so far is,
Code
import java.util.*
...
public void setArray()
{
String input;
Scanner scan = new Scanner(System.in);
input = scan.nextLine();
}
Prof told me there is a way I can feed scanner my string and it will create an array of strings for me. Any help appreciated.