menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    Absolute Java
  4. Exam
    Exam 10: File IO
  5. Question
    When the Method ReadLine()tries to Read Beyond the End of a File,it
Solved

When the Method ReadLine()tries to Read Beyond the End of a File,it

Question 31

Question 31

Multiple Choice

When the method readLine() tries to read beyond the end of a file,it returns the value of:


A) 1
B) -1
C) null
D) none of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Q19: When your program is finished writing to

Q22: Write a Java statement to create an

Q26: All of the following are methods of

Q28: In Java,when you open a text file

Q29: Files whose contents must be handled as

Q30: There are two common classes used for

Q32: A _ path name gives the path

Q34: The output stream connected to the computer

Q35: The stream that is automatically available to

Q41: Write a Java statement that creates an

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines