Skip to content

Shivamkumar181/Java-File-IO-Notes-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Java Notes App – File I/O Practice

Objective

Create a text-based Notes Manager that allows users to:

  • Write notes to a file.
  • Read notes from a file.

Tools Used

  • Java
  • VS Code
  • Terminal/Command Prompt

Key Concepts Covered

  • File Input and Output using FileWriter, FileReader, and BufferedReader
  • Exception Handling with try-catch
  • Using loops and user input with Scanner

📂 Files

  • NotesApp.java: Main Java file that runs the notes app.
  • notes.txt: File created automatically to store notes.

▶️ How to Run

  1. Open terminal or VS Code terminal.
  2. Compile the Java file:
  3. Run the app:
  4. Choose:
  • 1 to write a new note
  • 2 to view all saved notes
  • 3 to exit

Learning Outcome

You will learn:

  • How to persist user data in a file using Java.
  • How to handle input/output exceptions properly.
  • The basics of building a text-based application.

About

Java - file I/O text-based Notes Manager that allows users to: - Write notes to a file. Read notes from a file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages