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
Where can I find jdk in my computer?
What is the right data type to represent a price in java?
What is meant by javabeans?
Difference between linkedlist and arraylist.
What is Session reduplication and how its done?
What is a nested structure?
What is a vector in java?
What is collection class in java?
What is the range of the short type?
Explain purpose of sleep() method in java?
How many types of string data types are there?
What is == mean?
What are methods and how are they defined?
Is static a singleton?
what is the purpose of using rmisecuritymanager in rmi?