What is the return type of readLine() when end of a file is
reached?
Answer Posted / krishnakanth
Return Type of readLine() is "String".
Returns:
A String containing the contents of the line, not including
any line-termination characters, or null if the end of the
stream has been reached
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
how we can make a read-only class in java?
give an example for encapsulation?
Which is bigger float or double?
Can we override constructor?
What are the features of junit?
Can extern variables be initialized?
Is space a character in java?
What is the difference between JVM and JRE?
Is int a class in java?
Why do we use variables?
What is a hashmap used for?
Is nan false?
What is not thread safe?
What is :: operator in java 8?
How are java objects passed to a method and what are native methods?