Unit 5 - Submission OOAD

profileLowdown334

 

Update the GUI application you have developed so far by adding a Java application to store the order just made by the customer in a file and present a file confirmation message using files and streams. You may accomplish this by outputting the sub order information to a file. Finally, you will read this file to display the order confirmation information.

  • Output user-entered data to a destination file using the file class.
  • Input data from a source file using the file class.
  • Use FileWriter class and PrintWriter class to output an order confirmation.

Order Information

  • Beverage: xxxx
  • Sub bread: bbbbbbb
  • Sub type: ttttttttttttt
  • Sub size: ssssssss

Customer Information

  • Name: fffffff lllllll
  • Address: aaaaaaaaaa
  • City: ccccc
  • State: ss
  • Zip: zzzzz
  • Phone: nnn-nnn-nnnn

Input File: SubOrder.txt

    • 4 years ago
    • 20
    Answer(1)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      UpdatingtheGUIApplication.docx