What is the return type of readLine() when end of a file is
reached?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of singleton?

512


what is server side caching?

1607


Why isn’t there operator overloading?

592


Why local variables are stored in stack?

500


What is identifier in java?

555






What are the characteristics of Final,Finally and Finalize keywords.

702


Describe method overriding

585


What is final int?

530


What is the difference between arraylist and hashset in java?

517


What language is java written?

536


Compare java and python.

577


Is treeset sorted in java?

579


How do you use compareto in java?

557


What is lambda expression in java?

541


What are the two types of java?

516