Lab 4 File IO

  • Create two files
  • Copy the circleinput.txt into your project's src folder
  • Create a new Java class CircleFile
  • Create a two methods fillMyArray/printMyArray inside CircleFile class
  • fillMyArray method will read the circleinput.txt file and create a circle object in a memory and add to the array
  • printMyArray method will create a circleoutput.txt file and loop through the circle object array and output the results on the file and display on the screen.
  • Follow the examples from github code
  • Expected output

  • Due Date : 6/18/2023 11:59 PM(Sunday)

    How to submit lab?

  • Add your full name and email at the top of the file using a comment tag.
  • Compile and run your program, entering the required inputs.
  • Take a screenshot of the result.
  • Zip your project with the source code, then upload it on Blackboard.
  • Upload screenshot on Blackboard.
  • Note: Submit the assignment on Blackboard by the due date. Email and late submissions will not be accepted.