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 Posted / 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 |
Post New Answer View All Answers
Describe what happens when an object is created in java ?
What is lastindexof in java?
What is bitwise complement?
Why is java logo a cup of coffee?
How to display all the prime numbers between 1 and 100
Can arraylist hold different types java?
What is the difference between a constructor and a method?
Does anyone still use java?
How do you sort a string in java?
Explain about the interpreter in java?
List out benefits of object oriented programming language?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
How many types of interfaces are there?
What is use of map in java?
How many types of java are there?