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

Differentiate between postfix and prefix operators in java.

1087


Differences between traditional programming language and object oriented programming language?

1073


What is string data type?

920


What is the purpose of java?

949


What is yield () in java?

838


placement papaers of spring computing technology

1370


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

963


What is static and final keyword in java?

987


What do you mean by light weight and heavy weight components?

978


What is the difference between preparedstatement and statement in java?

1070


What is get () in java?

982


What is subsequence of a string?

1041


How can we find the actual size of an object on the heap?

1269


What is hashing in java?

991


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1118