Hi there,
How can I read any .txt file from class Scanner in my java code?
I keep getting an error of "NoSuchElementException"
I simply need to read any file from my Scanner.in. I tried to throw an IOException into my main class but still the same issue is happening.
I have attached an image of my code for your reference.
Hope somone can help me out.
Thank you.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here