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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the boolean & operator and the && operator in java programming?

1050


What is the static block?

1069


Can we override a variable in java?

1020


Give me some null interfaces in java?

1060


What is the difference between multitasking and multithreading in Java

1187


Why is it called buffering?

1126


What is a void method?

926


How can we use primitive data types as objects?

961


What is an exception? difference between Checked and Unchecked exception in Java

1014


What do you mean by constructor?

983


Can we assign the reference to this variable?

979


What is the difference in between cpp and java? Can u explain in detail?

1091


Can It is possible to synchronize the constructor of a Java Class?

1133


What are different types of expressions?

1122


What is this keyword used for?

1118