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 is the buffer limit?

652


Is linkedlist thread safe in java?

666


How to perform merge sort in java?

680


Explain the difference between a Thread and a Process.

650


When will you define a method as static in Java?

667






Define how objects are stored in java?

669


What are the uses of java?

661


What must a class do to implement an interface in java programming?

623


How does remove work in java?

604


Write a function for palindrome and factorial and explain?

762


Explain about complier design(phases)

725


Can we sort a map in java?

669


Explain about the performance aspects of core java?

642


Explain illegalmonitorstateexception and when it will be thrown?

711


Is char a data type in java?

640