Multiple choice

Which of the following methods is the one in java that reads data from a stream until it gets two consecutive newline characters?

  1. toBytes()

  2. logEntry()

  3. readFile()

  4. getRawRequest()

  5. error()

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This method is the one in java that reads data from a stream until it gets two consecutive newline characters.