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

Is oracle charging for java?

0 Answers  


What is singleton class?

16 Answers   3i Infotech, 7 Seas, ABC, Amdocs, Cap Gemini, Oracle, Persistent, TCS, Techforza,


What are the three best choices for a development environment?

0 Answers  


What do you mean Abstraction in java?

0 Answers   Aspire, Infogain,


Is java developer a good career?

0 Answers  


How finally used under exception handling?

0 Answers  


how to use finalize()Method to resources

4 Answers   TCS,


Write a program to search a number in the given list of numbers.

0 Answers   Honeywell,


What is method overriding in java ?

0 Answers  


I want to know the host name and provider name for tcs web mail

5 Answers   RSG, TCS,


What are methods in java?

0 Answers  


How does compareto work in java?

0 Answers  


Categories