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
How many ways can you break a singleton class in java?
Explain throw keyword in java?
What is a flag and how does it work?
In how many ways we can do synchronization in java?
What is classpath?
write a program that list all permutations of ABCDEF in which A appears before B?
What is boolean strategy?
What Is Composition?
What is dot operator?
How do you identify if jvm is 32-bit or 64-bit from java program?
What are inner classes or non static nested classes in java?
what is meant by encapsulation?
Is 0 true or is 1 true?
What's the access scope of protected access specifier?
How do you convert int to char in java?