read and write console in java using system in and system out without scanner code example
Example: java how to write something on the console with scanner
Scanner scanner = new Scanner(System.in);
Scanner scanner = new Scanner(System.in);