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 are the advantages of arraylist over arrays?
How do you calculate square roots?
what is the difference between object and class
Is boolean a data type in java?
Explain Method Overloading in Java.
What are measurable parameters?
What is percentage in java?
What will be the default values of all the elements of an array defined as an instance variable?
How do you print array in java?
What is a vector in java?
Why do we need data serialization?
Can we have more than one package statement in source file ?