Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

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

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

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

More Core Java Interview Questions

How do you remove duplicates in java?

0 Answers  


What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?

0 Answers  


Why is the type for real numbers called double?

0 Answers  


How do you implement polymorphism in our day to day life?

0 Answers   Cap Gemini,


Difference between the paint() and repaint() methods?

1 Answers  


What is the purpose of nested class in java?

0 Answers  


Write java code to print "Hello how are you" Thread1 should have "Hello" Thread2 should have "how are you" both the threads should start at the same time

4 Answers   Huawei,


What is parsing in grammar?

0 Answers  


What is the nested interface?

0 Answers  


Why packages are used?

5 Answers  


What are the different data types in java?

0 Answers  


What is string [] args?

0 Answers  


Categories