Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 945 Bytes

File metadata and controls

27 lines (22 loc) · 945 Bytes

Java File I/O Notes App

A simple, beginner-friendly Java application that demonstrates how to perform File Input/Output (I/O) operations using Object-Oriented Programming (OOP) principles.

Features

  • Add Notes: Write text notes to a local file (notes.txt).
  • View Notes: Read and display all stored notes from the file.
  • Persistent Storage: Notes are saved in a text file, so they remain available even after the program exits.
  • Exception Handling: Uses try-catch and try-with-resources to handle potential I/O errors gracefully.

Technologies Used

  • Language: Java
  • Concepts: File I/O (FileWriter, FileReader, BufferedReader), Exception Handling, Classes and Objects.

How to Run

  1. Ensure you have Java Development Kit (JDK) installed.
  2. Compile the program:
    javac NotesApp.java
  3. Run the program:
    java NotesApp

Author

Mummana Devi Prasad