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 do you sort in java?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
Why main function is static?
How many bits is a double?
What is the default size of arraylist in java?
What is final method in java?
Write a program to show whether a graph is a tree or not using adjacency matrix.
Is java ee a framework?
What is matcher in java?
What is meant by structural programming?
What is runtime polymorphism or dynamic method dispatch?
What is the latest java version?
what is the messsage u r going to get from an objectoriented programing?
What is the difference between heap and stack memory?
what do you understand by the term string with respect to java?