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 |
How can we handle runtime exceptions? write one sample program? Can we write runtime exceptions beside the throws key word? if yes write sample program?
What is the difference between yield() and sleep()?
What about features of local inner class?
can any body body expalin best definitions & best real time exaples for opps concepts.
Is null a string in java?
What is use of set in java?
What is an infinite loop in java? Explain with an example.
What do you mean by ordered and sorted in collections in java?
What is mean by collections in java?
What about anonymous inner classes in java?
Where is the find and replace?
What are E and PI?