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


Please Help Members By Posting Answers For Below Questions

What are keywords and reserved words in java?

558


How to sort a collection of custom Objects in Java?

597


What is assembly used for?

502


Explain covariant method overriding in java.

542


What are passing parameters?

586






What is a map in java?

548


What is use of static in java?

525


What modifiers may be used with a top-level class?

575


What is keyset in java?

655


What do you mean by static variable?

572


Can we have try without catch block?

642


Why are parameters used in functions?

532


Why we used vector class?

630


What is the size of a string in java?

547


what state does a thread enter when it terminates its processing? : Java thread

597