Anzeige
Apply your knowledge of Java 2 programming techniques Submi.pdf
Nächste SlideShare
Dbva dotnet programmer_guide_chapter8Dbva dotnet programmer_guide_chapter8
Wird geladen in ... 3
1 von 1
Anzeige

Más contenido relacionado

Más de ADITYAMOBILEGALLRY(20)

Anzeige

Apply your knowledge of Java 2 programming techniques Submi.pdf

  1. Apply your knowledge of Java 2 programming techniques. Submit the project.zip via Blackboard. Create a project that interacts with the user, creates a text file, adds records to the text file, and displays the contents of the text file. 1. Create Java project Week10Test2. This project will include development of the CreateNotes.java and any other classes you may choose to develop. (10 points-be sure to name the objects as required) Demonstrate that you can access a text file by creating it, adding records to it, and printing the contents of the file. 2. Prompt the user for a directory name and the file name with .bxt extension. Be sure this has a bxt extension. (10 points) a. If the file already exists, display "File already exists". (10 points) b. If the file does not exist, create it and send a message that the "File created" (10 points) 3. Allow the user to enter data into the file by prompting the user to enter the input. (10 points) 4. Allow the user to type input and add it to the file. Press Enter twice to exit. Hint: strText isEmpty(), strText lengthy) ==0, or strText.equals/ +) (10 points) 5. You must use the ReadStringFromUser method in this program. (20 points) 6. Once the user finishes, print the file contents to the console screen. (20 points) 7. Be sure the program checks for other error processing. validation, etc. as necessary. (20 points) 8. The program must follow proper naming conventions of this course. (20 points) 9. Test the program and provide a print-screen of the test results. (20 points) 10. Be sure to have the proper program documentationfcomments. All methods must have the proper JavaDoc comments. (20 points) 11. Generate a JavaDoc for your Project. You do this by selecting your project folder, select Project, Generate JavaDoc. You can refresh your project to see the doc folder that contains your index.html. Select Open With. Web Browser, navigate to annotations and provide a printscreen with your submission. (20 points) 12. Refer to the homework assignments for tips on how to create this application. If you have questions, be sure to ask your instructor.
Anzeige