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 %d in printf?

0 Answers  


What is native method in java?

0 Answers  


When do we need to use internal iteration? When do we need to use external iteration?

0 Answers  


What is qms certification?

0 Answers  


What is structure of java heap? What is perm gen space in heap?

0 Answers  


What are the important methods of java exception class?

0 Answers  


write a program to create an arraylist and listeterator.and value should be enter through keyboard.

1 Answers   Axcend,


How is Garbage collection done in Java?

3 Answers   T3 Softwares,


What are triggers in DB? Explain their types. How do they work?

0 Answers   Amdocs,


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

0 Answers  


What is annotation in java?

0 Answers  


which class is the wait() method defined in? : Java thread

0 Answers  


Categories