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 value will be return by the read() method once it
reaches the end-of-file?
a. Throws EOException
b. Return null
c. Return -1
d. Read method return nothing, because it is void method



what value will be return by the read() method once it reaches the end-of-file? a. Throws EOExcep..

Answer / ash

Generally the read method reads integer and returns integer...so i think it will return -1.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the basically use of finally while we know it is always executed but why?

5 Answers   Oracle, TCS,


What are the various access specifiers in java?

0 Answers  


How is rounding performed under integer division?

2 Answers   Satyam,


Is null a string in java?

0 Answers  


What Is Composition?

0 Answers   IBS,


What do you mean by scope of variable?

0 Answers  


What is the difference between static class and normal class?

0 Answers  


Why are getters and setters used?

0 Answers  


What is math exp in java?

0 Answers  


Explain the difference between protected and default access.

0 Answers  


What is widening and narrowing in java? Discuss with an example.

0 Answers   Amdocs,


What does g mean in regex?

0 Answers  


Categories