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 does nullpointerexception mean?
What is the difference between a scrollbar and a scrollpane?
What is the main use of generics in java?
why there are multiple catches for a try block.don't tell me that there can be multiple exception of a code segment that's why.tell me the real fact behind this.
To obtain design information about an object, which class in used?
Why does abstract class have constructor?
Is it possible to create object with out its default constructor? if possible how? else not possible? justify
Explain the difference between abstract classes and interfaces in java?
Is stringwriter thread safe?
What is the method to expand and collapse nodes in a jtree?
Which is easier netbeans or eclipse?
What is the use of default method in interface in java? Explain