Pergunta de entrevista da empresa IBM

Who to take input from console in java