Java :How can I read input from the console using the Scanner class in Java?(5solution)

Published --