Something to keep in mind is that the problems you're experiencing have to do with the Scanner utility, not with the Java language as such. In general, Java tends to have much less gotchas and magic than many other popular languages.
Best of luck on your learning journey!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Something to keep in mind is that the problems you're experiencing have to do with the Scanner utility, not with the Java language as such. In general, Java tends to have much less gotchas and magic than many other popular languages.
Best of luck on your learning journey!