So I'm quite new to Java, and am taking a course in computer programming now.
One of our assignments has me kind of stumped, and I'm wondering if someone could lead me in the right direction of how to go about programming this.
The assignment is:
Create a new Java program and class titled, PoemData, that will allow the user to enter lines to his/her favourite poem (must be greater than four lines) and store the poem to a data file named Poem.dat. Allow the user to stop the data entry when they are finished their poem. Be sure to test your solution and view the associated data file for correctness.
Any help would be greatly appreciated.