How does System.in.read() convert the character into a int

前端 未结 0 1069
春和景丽
春和景丽 2020-12-17 02:45

i have the following code:

int zeichen = System.in.read();

System.out.println(zeichen);

The documentation for read() says: Reads the next by

相关标签:
回答
  • 消灭零回复
提交回复
热议问题