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 a prefix function.write down a code to compute prefix function.

1109


What is difference between local variable and global variable?

1079


What is empty string literal in java?

1106


State differences between C and Java?

1261


What are the four integer types supported by java?

1096


Variable of the boolean type is automatically initialized as?

1049


What is a string token?

1119


How java is similar to c?

1089


Which class represents the socket that both the client and server use to communicate with each other?

1085


What is starvation?

1407


What is integer valueof?

1162


can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

1032


If a method is declared as protected, where may the method be accessed in java programming?

1052


What are the approaches that you will follow for making a program very efficient?

1126


Can you explain inner class.

1138