What value does readline() return when it has reached the end of a file?



What value does readline() return when it has reached the end of a file?..

Answer / Pradeep Kumar Kanojiya

The readLine() method in Java returns null when it has reached the end of a file, indicating there is no more input data to be read.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is J2EE?

2 Answers  


What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?

1 Answers  


What do you mean by Socket Programming?

1 Answers  


Can I use multiple html form elements with the same name?

1 Answers  


What is diffennce between AWT & SWING?

4 Answers  


What are the different algorithms used for clustering?

1 Answers  


Connection Pooling with different type of databases?

1 Answers  


How many JSP scripting elements and what are they?

4 Answers   TCS,


Explain lazy activation?

1 Answers   HCL,


wahts is mean by dynavalidatorform in struts/

1 Answers   SolutionNET,


What is difference between object state and behavior?

1 Answers  


difference between applicationserver and webserver

2 Answers   SolutionNET,


Categories