how to add input to terminal using java code example Example: read input from console variable = input()