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, java is compatible with all servers but not all browsers?

0 Answers  


What is the basic of java?

0 Answers  


Can we create more than one object singleton class?

0 Answers  


What will happen if we write code like: try{}catch(exception e)catch(IOException i)

6 Answers   CTS, TCS,


What is a vector in java?

0 Answers  


Can we define a package statement after the import statement in java?

0 Answers  


List out benefits of object oriented programming language?

0 Answers  


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

0 Answers  


what are the difference between Java and .Net?

5 Answers  


What is volatile data type?

0 Answers  


what is run time polymorphism

4 Answers  


when you will synchronize a piece of your code? : Java thread

0 Answers  


Categories