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

Explain a situation where finally block will not be executed?

0 Answers  


Explain heap sort?

0 Answers   Flextronics,


How to Sort list of Strings in ascending order without using java api.

1 Answers   HCL, NIIT,


How many types of syncronization?

2 Answers  


Difference between this() and super() ?

0 Answers  


What is reverse function?

0 Answers  


Tell us something about an iterator.

0 Answers  


difference between vectorlist and hash

1 Answers   TCS,


What is byte code and why is it important to java’s use for internet programming?

0 Answers  


why would you use a synchronized block vs. Synchronized method? : Java thread

0 Answers  


What is java instanceof operator?

0 Answers  


Discuss 2D arrays.

0 Answers   Amdocs,


Categories