When I want to use an array for storing the inputs from Scanner, but don't know how many tokens it contain, aren't there any ways to get all the inputs stored in the array with the exact same size as the tokens?When I want to use an array for storing the inp