Multiple choice

The method 'Read Line ()' returns ____ if no more data is available to read.

  1. 0

  2. 1

  3. -1

  4. null

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

In programming languages like Java or C-sharp, standard input reader methods such as ReadLine() return null when the end of the stream or file is reached and no more data is available.