The Artima Developer Community
Sponsored Link

Java Answers Forum
HELP

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
danielle stott

Posts: 3
Nickname: danielle1
Registered: Apr, 2007

HELP Posted: Apr 30, 2007 5:42 AM
Reply to this message Reply
Advertisement
Can anyone please create this piece of code by answering this question?

Write a Java clags TemperatureShow that will read all the numbers in a binary file
named temperatures and write the numbers to the screen, one per line. Assume that
the file consists entirely of numbers written to it with the method writeDouble. The
string "End of reading from file." is printed to the screen if the reading of file is
completed. File IOException should be caught to print out a string "Problem reading
from file." to the screen.

Topic: HELP Previous Topic   Next Topic Topic: NumberFormatException

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use