Testing console based applications/programs - Java

前端 未结 5 1451
故里飘歌
故里飘歌 2020-12-03 05:47

All,

I have written a PhoneBook application in Java that is command line based. The application basically asks for some details of user like Name, Age, Address and p

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 06:14

    System.setIn(new BufferedInputStream(new FileInputStream("input.txt")));

提交回复
热议问题