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 exception hierarchy in java?

960


Explain listiterator and methods in listiterator?

1018


What is public static?

1034


What is the difference between heap memory and stack memory?

1067


What is binary tree in java?

1054


Explain the selection sort algorithm and state its time complexity?

1015


What is a finally block?

982


Is array serializable java?

982


What is the use of set in java?

1122


Is null an object java?

988


What is the difference between a switch statement and an if statement?

1090


Which data type is a class in java?

1002


What is difference between == and === in js?

1012


How does map works in java?

994


How does linkedhashmap work in java?

1020