What is the return type of readLine() when end of a file is
reached?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / dilshad
ya ,i think so....
the return type of the method readLine is String why because
the input give from the console in java language is always
String.............
| Is This Answer Correct ? | 1 Yes | 1 No |
what is multithreading?
How can you say java is object oriented?
Is there is any error if you have multiple main methods in the same class?
Is binary a low level language?
What is void keyword?
How do you ensure that n threads can access n resources without deadlock?
What is the functionality of Webserver?
What is role of void keyword in declaring functions?
What is a blocking method in Java?
Is java an open source?
What problems will occur when you don?t use layout managers?
What is purpose of keyword void?