System.out.println not functioning

前端 未结 6 1113
囚心锁ツ
囚心锁ツ 2021-01-19 11:54

What are some scenarios in which java\'s System.out.println would fail to produce any output. I have a call to it inside of a method and sometimes when the method is called

6条回答
  •  孤街浪徒
    2021-01-19 12:12

    I have never seen this scenario before. In theory, it would only "fail" when the output isn't there where you expect it is. The output target can namely be changed using System#setOut().

提交回复
热议问题