what value will be return by the read() method once it
reaches the end-of-file?
a. Throws EOException
b. Return null
c. Return -1
d. Read method return nothing, because it is void method
Answer / ash
Generally the read method reads integer and returns integer...so i think it will return -1.
| Is This Answer Correct ? | 2 Yes | 0 No |
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
Is main a keyword in java?
can we overload main method?
Is 0 true or is 1 true?
Difference between abstract class and Interfaces?
7 Answers CTS, iFlex, PA Consulting, Sai Softech, Value Chain,
What are streams?
what is the form of storage space in java?
Explain importance of throws keyword in java?
How is a variable stored in memory?
How do you remove duplicates in java?
what is difference between perfom() & excute() ?
What is Garbage Collection in Java