Java version problem

I followed the instructions to install java jdk from the video through oracle website but it does not have 10.0.1 version, it has latest version 13.0.1. So, i installed that version but now i can’t take input as syntax is different of both versions. I don’t know how to use scanner in 13.0.1 version. Please tell how to take input in the 13.0.1 version

What error did you get ? Because Java still has support for Scanner, even I’m v13, so there’s problem with your installation. Try running Java file from CMD.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.