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 the difference between hashset and treeset in java?

0 Answers  


What are the Memory Allocations available in JavaJava?

1 Answers  


What is meant by class?

0 Answers  


Does substring create a new object?

0 Answers  


What is a prefix function.write down a code to compute prefix function.

0 Answers  


What is a arraylist in java?

0 Answers  


What is the difference between conversation & casting?

0 Answers  


What are batch updates. in jdbc

2 Answers   Corent Technology,


Give few examples of final classes defined in Java API?

0 Answers   BirlaSoft,


Is string passed by reference in java?

0 Answers  


What is %02d?

0 Answers  


In Java, what’s the purpose of static methods and static variables?

2 Answers  


Categories