Contextual advertising

  • 12
  • Locked
Replace the System.out object in the main method with your own reader wrapper. Your reader wrapper should display a contextual ad after every other call to println. Call testString's existing printSomething() method. Restore the System.out variable back to the original stream. Ad text: "CodeGym - o
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
16 August 2020, 01:53
However, test would still require to create PrintStream with ByteArrayOutputStream.