how to read command line input in java code example Example: read input from console variable = input()