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 |
Is oracle charging for java?
What is singleton class?
16 Answers 3i Infotech, 7 Seas, ABC, Amdocs, Cap Gemini, Oracle, Persistent, TCS, Techforza,
What are the three best choices for a development environment?
What do you mean Abstraction in java?
Is java developer a good career?
How finally used under exception handling?
how to use finalize()Method to resources
Write a program to search a number in the given list of numbers.
What is method overriding in java ?
I want to know the host name and provider name for tcs web mail
What are methods in java?
How does compareto work in java?