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

Can we override the main method?

4 Answers  


Can we return null in java?

0 Answers  


How do you write a good declaration?

0 Answers  


What happens when heap memory is full?

0 Answers  


List some important features of java 10 release?

0 Answers  


What is difference between overloading and overriding in java?

0 Answers  


How to overcome the exception object reference not set to an instance of object?

0 Answers   Wipro,


What is member in java?

0 Answers  


What is meant by constructor?

8 Answers  


How objects are stored in java?

0 Answers  


What is the use of beaninfo?

0 Answers  


What is java in layman terms?

0 Answers  


Categories