java how to write something on the console with scanner

Solutions on MaxInterview for java how to write something on the console with scanner by the best coders in the world