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

What are the advantages of arraylist over arrays?

0 Answers  


How do you calculate square roots?

0 Answers  


what is the difference between object and class

10 Answers   IBM,


Is boolean a data type in java?

0 Answers  


Explain Method Overloading in Java.

1 Answers  


What are measurable parameters?

0 Answers  


What is percentage in java?

0 Answers  


What will be the default values of all the elements of an array defined as an instance variable?

0 Answers  


How do you print array in java?

0 Answers  


What is a vector in java?

0 Answers  


Why do we need data serialization?

0 Answers  


Can we have more than one package statement in source file ?

0 Answers  


Categories