Im only a beginner but may i ask why this instead of Scanner class? Its just im interested as ive ony been taught the Scanner class to read in user input.