What is the return type of read()?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
The default read() of a stream method returns an int
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / vijayakumar chinnasamy
the return type of read() is int. It return -1 then it
reach the end of line.
| Is This Answer Correct ? | 6 Yes | 0 No |
Why do we use return statement?
How do you access command-line arguments within the code?
0 Answers Flextronics, Hexaware,
What is difference between == equals () and compareto () method?
What are legal modifiers that we can use to declare an inner class?
What is skeleton and stub? What is the purpose of those?
what is the difference between static class and singleton class? can we create static class?
2 Answers L&T, Octazen, Vamsi Labs,
Compare Mutex and Semaphore in java.
How are java objects passed to a method and what are native methods?
Is special character in java?
What is serializable interface?
13 Answers Infosys, Probity Soft, Seed Infotech,
When will we use them?
How do you check if a character in a string is a digit or letter?