menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    Big Java Early Objects
  4. Exam
    Exam 21: Advanced Input/Output
  5. Question
    What Is Returned by the Read Method When a FileInputStream
Solved

What Is Returned by the Read Method When a FileInputStream

Question 89

Question 89

Multiple Choice

What is returned by the read method when a FileInputStream has reached the end of the file?


A) 0
B) -1
C) -2
D) '\n'

Correct Answer:

verifed

Verified

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

Related Questions

Q80: Which statement reads the configuration file named

Q81: If we want to write objects to

Q82: Which is an advantage of storing numbers

Q83: In which of the following modes can

Q84: What type of object describes the location

Q85: How many methods are required to implement

Q86: Fill in the blank in the following

Q87: Which is not a method available in

Q88: Fill in the blank in the following

Q90: Objects are saved in _ format in

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