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 |
what is mean by method signature?
What are the common uses of "this" keyword in java ?
Is it possible to write a regular expression to check if string is a number?
Why is flag used in java?
Explain about the performance aspects of core java?
Is the milky way in a void?
Why parsing is done?
What is the difference in between cpp and java? Can u explain in detail?
What are predefined functions?
How many types of thread in java? give the name
What is the purpose of the File class?
what is diff bet iterator and enumeration?