Skip to content

Amazeabhi/Java-FileHandler-Task1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CodTech Internship – Task 1

🔹 Java File Handling Utility

This project demonstrates file operations in Java including:

  • Writing text to a file
  • Reading content from a file
  • Appending/modifying text in an existing file
  • Menu-based user interaction via console

📁 Files

File Description
FileHandler.java Java code for reading, writing, and modifying text files
sample.txt The text file used for all file operations
README.md This file (project overview and instructions)

🧪 How It Works

  1. Run the program:
    java FileHandler

You’ll see a menu: ===== File Handler Menu =====

  1. Write to File
  2. Read from File
  3. Append to File
  4. Exit

Perform any operation and check sample.txt file.

About

CodTech Internship Task 1: Java file handling operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages